Test two line buttons in toolbar

This commit is contained in:
JuliaSvinareva 2021-12-22 19:25:25 +03:00
parent 0d62988f44
commit b32d8fb121
2 changed files with 12 additions and 4 deletions

View file

@ -210,8 +210,9 @@ define([
templateBtnIcon +
'</div>' +
'<div class="inner-box-caption">' +
'<span class="caption"><%= caption %></span>' +
'<i class="caret"></i>' +
'<span class="caption"><%= caption %>' +
'<i class="caret"></i>' +
'</span>' +
'</div>' +
'</button>' +
'</div>';

View file

@ -70,6 +70,8 @@
transition: transform 0.2s ease;
transform: rotate(-135deg) translate(1px,1px);
margin: 0 1px 0 4px;
}
//&:active,
@ -232,11 +234,16 @@
padding: 0 2px;
display: flex;
align-items: center;
//align-items: start;
.caption {
max-width: 107px;
//max-width: 107px;
text-overflow: ellipsis;
overflow: hidden;
white-space: pre-line;
line-height: 11px;
padding-right: 0;
}
}
@ -267,7 +274,7 @@
&.dropdown-toggle {
.caption {
max-width: 100px;
//max-width: 100px;
}
}
}