fix bug 35586, 35591, 35593

This commit is contained in:
Maxim Kadushkin 2017-08-15 14:26:40 +03:00
parent 789530e173
commit 88588a8fba
2 changed files with 17 additions and 3 deletions

View file

@ -155,11 +155,15 @@ define([
var templateHugeSplitCaption =
'<div class="btn-group x-huge split icon-top" id="<%= id %>" style="<%= style %>">' +
'<button type="button" class="btn <%= cls %> inner-box-icon">' +
templateBtnIcon +
'<span class="btn-fixflex-hcenter">' +
templateBtnIcon +
'</span>' +
'</button>' +
'<button type="button" class="btn <%= cls %> inner-box-caption dropdown-toggle" data-toggle="dropdown">' +
'<span class="caption"><%= caption %></span>' +
'<i class="caret img-commonctrl"></i>' +
'<span class="btn-fixflex-vcenter">' +
'<i class="caret img-commonctrl"></i>' +
'</span>' +
'</button>' +
'</div>';

View file

@ -144,13 +144,23 @@
line-height: 20px;
}
.btn-fixflex-hcenter {
flex-grow: 1;
}
.btn-fixflex-vcenter {
.caret {
vertical-align: inherit;
}
}
.inner-box-caption {
margin: 0;
height: 18px;
}
div.inner-box-icon {
height: 28px; // TODO: clear. FF bug 984869. fixed. isn't released.
height: 28px; // TODO: clear. Firefox bug 984869. fixed. isn't released.
}
}