[SSE] Fix paddings of math items in statusbar
This commit is contained in:
parent
286876fe3d
commit
ab98e6cedc
|
@ -637,6 +637,11 @@ define([
|
|||
this.labelSum.text((info.sum && info.sum.length) ? (this.textSum + ': ' + info.sum) : '');
|
||||
this.labelAverage.text((info.average && info.average.length) ? (this.textAverage + ': ' + info.average) : '');
|
||||
|
||||
this.labelMin[info.min && info.min.length > 0 ? 'show' : 'hide']();
|
||||
this.labelMax[info.max && info.max.length > 0 ? 'show' : 'hide']();
|
||||
this.labelSum[info.sum && info.sum.length > 0 ? 'show' : 'hide']();
|
||||
this.labelAverage[info.average && info.average.length > 0 ? 'show' : 'hide']();
|
||||
|
||||
this.customizeStatusBarMenu.items.forEach(function (item) {
|
||||
if (item.options.id === 'math-item-average') {
|
||||
item.options.exampleval = (info.average && info.average.length) ? info.average : '';
|
||||
|
|
|
@ -130,17 +130,10 @@
|
|||
#status-filtered-box {
|
||||
//float: right;
|
||||
padding-top: 6px;
|
||||
padding-right: 14px;
|
||||
|
||||
position: absolute;
|
||||
height: 25px;
|
||||
|
||||
label {
|
||||
&:not(:last-child) {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.separator {
|
||||
position: relative;
|
||||
padding-right: 11px;
|
||||
|
@ -148,6 +141,22 @@
|
|||
}
|
||||
}
|
||||
|
||||
#status-math-box {
|
||||
padding-right: 4px;
|
||||
label {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
#status-filtered-box {
|
||||
padding-right: 14px;
|
||||
label {
|
||||
&:not(:last-child) {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#status-sheets-bar-box {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Reference in a new issue