@ -61,13 +61,13 @@ BI.Toast = BI.inherit(BI.Tip, {
cls: cls + " toast-icon",
width: 36
}, {
el: {
el: BI.isString(o.text) ? {
type: "bi.label",
whiteSpace: "normal",
text: o.text,
textHeight: 16,
textAlign: "left"
},
} : o.text,
rgap: o.autoClose ? this._const.hgap : 0
}];
@ -4,6 +4,7 @@
color: @color-bi-text;
max-width: 400px;
min-width: 150px;
line-height: @font-size-16;
.border-radius(2px);
&.toast-success{
background: @color-bi-background-toast-success;