fix size and alignment of image only button

padding-left: 1px also looks nicer for buttons with image+label
This commit is contained in:
ralf 2022-07-28 10:08:17 +02:00
parent 7df2876d8a
commit 47817e4df5
2 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,9 @@ export class Et2Button extends Et2InputWidget(SlButton)
}
.button__label {
}
.button__prefix {
padding-left: 1px;
}
`,
];
}

View File

@ -2879,6 +2879,7 @@ div.et2_toolbar.ui-widget-header {
}
.nextmatch_header_row et2-button, .nextmatch_header_row et2-searchbox, .et2_toolbar et2-button {
margin-right: 1ex;
min-width: 24px;
}
.nextmatch_header_row et2-button::part(container){
height: 18px;