bug 51943
This commit is contained in:
parent
6e3f767882
commit
3f2f19fd06
|
@ -89,7 +89,7 @@ define([
|
|||
'<% _.each(items, function(item) { %>',
|
||||
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem">',
|
||||
'<span><%= item.displayValue %></span>',
|
||||
'<span style="float: right;">',
|
||||
'<span class="border-line">',
|
||||
'<svg class="img-border-size" style="height: <%= Math.ceil(item.pxValue) %>px; margin-top: -<%= Math.ceil(item.pxValue)/2 %>px">',
|
||||
'<use xlink:href="#<%= item.imgId %>"></use>',
|
||||
'</svg>',
|
||||
|
@ -200,7 +200,7 @@ define([
|
|||
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem">',
|
||||
'<span><%= item.displayValue %>' + '</span>',
|
||||
'<% if (item.imgId!==undefined) { %>',
|
||||
'<span style="float: right;">',
|
||||
'<span class="border-line">',
|
||||
'<svg class="img-border-size" style="height: <%= Math.ceil(item.pxValue) %>px; margin-top: -<%= (Math.ceil(item.pxValue)/2) %>px">',
|
||||
'<use xlink:href="#<%= item.imgId %>"></use>',
|
||||
'</svg>',
|
||||
|
|
|
@ -37,6 +37,11 @@
|
|||
display: block;
|
||||
top:50%;
|
||||
}
|
||||
|
||||
.border-line{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.img-line {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in a new issue