Fix label of button overlaps outside its container if it gets squeezed enough

This commit is contained in:
Hadi Nategh 2022-09-08 12:47:11 +02:00
parent 5c96a29ef8
commit 79cec31989

View File

@ -94,6 +94,8 @@ export const ButtonMixin = <T extends Constructor>(superclass : T) => class exte
padding: 0 var(--sl-spacing-medium);
}
.button__label {
text-overflow: ellipsis;
overflow-x: hidden;
}
.button__prefix {
padding-left: 1px;