Roo/bootstrap/Card.js
authorAlan Knowles <alan@roojs.com>
Mon, 4 Jan 2021 06:24:08 +0000 (14:24 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 4 Jan 2021 06:24:08 +0000 (14:24 +0800)
Roo/bootstrap/Card.js

index 507fae2..f71b5e5 100644 (file)
@@ -219,7 +219,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         if (this.header.length) {
             hdr = {
                 tag : this.header_size > 0 ? 'h' + this.header_size : 'div',
-                cls : 'card-header' + (this.header_weight ? 'bg-' + this.header_weight : ''),
+                cls : 'card-header ' + (this.header_weight ? 'bg-' + this.header_weight : ''),
                 cn : []
             };
             cfg.cn.push(hdr);
@@ -227,7 +227,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component,  {
         } else {
             hdr = {
                 tag : 'div',
-                cls : 'card-header d-none' + (this.header_weight ? 'bg-' + this.header_weight : ''),
+                cls : 'card-header d-none ' + (this.header_weight ? 'bg-' + this.header_weight : ''),
                 cn : []
             };
             cfg.cn.push(hdr);