forked from extern/egroupware
Center image in button when it has no label
This commit is contained in:
parent
417851b7b6
commit
0f729b7a1b
@ -102,6 +102,7 @@ export class Et2Button extends Et2InputWidget(SlButton)
|
||||
/* Only image, no label */
|
||||
.button--has-prefix:not(.button--has-label) {
|
||||
width: calc(var(--sl-input-height-medium) + var(--sl-input-spacing-small) * 2);
|
||||
justify-content: center;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user