Browse Source

BI-30745 精简语句,调整最小高度(+30px)

es6
Zhenfei.Li 6 years ago
parent
commit
2d922779ba
  1. 3
      src/base/pane.js
  2. 2
      src/less/base/pane.less

3
src/base/pane.js

@ -52,7 +52,7 @@ BI.Pane = BI.inherit(BI.Widget, {
var self = this, o = this.options; var self = this, o = this.options;
var loadingAnimation = BI.createWidget({ var loadingAnimation = BI.createWidget({
type: "bi.horizontal", type: "bi.horizontal",
cls: "bi-loading-widget", cls: "bi-loading-widget" + ((BI.isIE() && BI.getIEVersion() < 10) ? " hack" : ""),
height: 60, height: 60,
width: 60, width: 60,
hgap: 10, hgap: 10,
@ -74,7 +74,6 @@ BI.Pane = BI.inherit(BI.Widget, {
width: 5 width: 5
}] }]
}); });
(BI.isIE() && BI.getIEVersion() < 10) && loadingAnimation.element.addClass("hack");
if (o.overlap === true) { if (o.overlap === true) {
if (!BI.Layers.has(this.getName())) { if (!BI.Layers.has(this.getName())) {
BI.createWidget({ BI.createWidget({

2
src/less/base/pane.less

@ -1,7 +1,7 @@
@import "../index"; @import "../index";
@import "../resource/background"; @import "../resource/background";
.bi-pane { .bi-pane {
min-height: 25px; min-height: 55px;
.background-color(@color-bi-background-normal, 0); .background-color(@color-bi-background-normal, 0);
} }

Loading…
Cancel
Save