mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 13:22:06 +02:00
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 */
|
/* Only image, no label */
|
||||||
.button--has-prefix:not(.button--has-label) {
|
.button--has-prefix:not(.button--has-label) {
|
||||||
width: calc(var(--sl-input-height-medium) + var(--sl-input-spacing-small) * 2);
|
width: calc(var(--sl-input-height-medium) + var(--sl-input-spacing-small) * 2);
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user