mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:21:04 +01:00
Better sizing for buttons with only image, no label
Doesn't skip effects of flex though
This commit is contained in:
parent
1a8c1c2d35
commit
40e3d6e459
@ -98,6 +98,11 @@ export class Et2Button extends Et2InputWidget(SlButton)
|
|||||||
.button__prefix {
|
.button__prefix {
|
||||||
padding-left: 1px;
|
padding-left: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Only image, no label */
|
||||||
|
.button--has-prefix:not(.button--has-label) {
|
||||||
|
width: calc(var(--sl-input-height-medium) + var(--sl-input-spacing-small) * 2);
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user