From: Alan Knowles Date: Wed, 18 Nov 2020 04:43:59 +0000 (+0800) Subject: Roo/bootstrap/Card.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=0415b7a0e74d5063459a2486a55e0640f37b587d Roo/bootstrap/Card.js --- diff --git a/Roo/bootstrap/Card.js b/Roo/bootstrap/Card.js index 618505ed5c..90df3b866a 100644 --- a/Roo/bootstrap/Card.js +++ b/Roo/bootstrap/Card.js @@ -254,10 +254,10 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { cn : [] }; var obody = body; - if (this.collapsable) { + if (this.collapsable || this.rotateable) { obody = { tag: 'div', - cls : 'roo-collapsable collapse ' + (this.collapsed ? '' : 'show'), + cls : 'roo-collapsable collapse ' + (this.collapsed || this.rotated ? '' : 'show'), cn : [ body ] }; } @@ -296,7 +296,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { if (this.footer.length) { cfg.cn.push({ - cls : 'card-footer', + cls : 'card-footer ' + (this.rotated ? 'd-none' : ''), html : this.footer });