[SSE] Fix bug 53734
This commit is contained in:
parent
4942d32dc2
commit
c94249e1ac
|
@ -380,12 +380,11 @@ define([
|
|||
|
||||
var customizeStatusBarMenuTemplate = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem">'+
|
||||
'<div style="position: relative;">'+
|
||||
'<div style="position: absolute; left: 0; width: 85px;"><%= caption %></div>' +
|
||||
'<label style="width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: right; vertical-align: bottom; padding-left: 85px; color: silver;cursor: pointer;"><%= options.exampleval ? options.exampleval : "" %></label>' +
|
||||
'<div class="item-caption"><%= caption %></div>' +
|
||||
'<label class="item-value"><%= options.exampleval ? options.exampleval : "" %></label>' +
|
||||
'</div></a>');
|
||||
|
||||
this.customizeStatusBarMenu = new Common.UI.Menu({
|
||||
style: 'margin-top: 0px; margin-left: -7px;',
|
||||
menuAlign: 'bl-tl',
|
||||
menuAlignEl: $(this.el),
|
||||
items: [
|
||||
|
|
|
@ -481,12 +481,27 @@
|
|||
|
||||
#statusbar-menu {
|
||||
.dropdown-menu {
|
||||
margin-top: 0;
|
||||
margin-left: -7px;
|
||||
li {
|
||||
> a {
|
||||
padding: 5px 12px 5px 26px;
|
||||
&::before {
|
||||
margin-left: -22px;
|
||||
}
|
||||
.item-caption {
|
||||
min-width: 98px;
|
||||
display: inline-block;
|
||||
}
|
||||
.item-value {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: right;
|
||||
vertical-align: bottom;
|
||||
padding-left: 5px;
|
||||
color: silver;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue