X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FCard.js;h=90df3b866ac07d9b2d11fef959b32b1fd18cc4b5;hb=0415b7a0e74d5063459a2486a55e0640f37b587d;hp=618505ed5cab256a37f7cd4a733151eea8c3c0d8;hpb=6b094b074cabea4e18ec6c47c3d756b8df6b9e37;p=roojs1 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 });