Fix toolbar button icon alignment

Icons were shifted to the left due to padding & label
This commit is contained in:
nathan 2023-01-09 10:52:48 -07:00
parent 61f36f4051
commit 5a093813ac

View File

@ -2773,9 +2773,24 @@ table.egwGridView_outer thead tr th.noResize:hover {
width: auto; width: auto;
} }
.et2_toolbar .et2_toolbar_actionlist et2-button.et2_toolbar_onlyCaption::part(label) { /* Hide label visually */
position: absolute; .et2_toolbar et2-button:not(.et2_toolbar_hasCaption)::part(base) {
left: -999px; justify-content: center;
padding-inline-start: 0;
}
.et2_toolbar et2-button:not(.et2_toolbar_hasCaption)::part(label) {
position: absolute;
top: 100%;
}
.et2_toolbar et2-button:not(.et2_toolbar_hasCaption)::part(prefix) {
padding: 0;
}
.et2_toolbar et2-button.et2_toolbar_onlyCaption::part(label) {
position: absolute;
left: -999px;
} }
div.et2_toolbar.ui-widget-header { div.et2_toolbar.ui-widget-header {