Still set width for buttons with only icon and remove the extra left padding in this case as we want the button and icon be square

This commit is contained in:
Hadi Nategh 2022-08-08 11:57:02 +02:00
parent 2017bd8261
commit 301d38796f

View File

@ -102,7 +102,10 @@ export class Et2Button extends Et2InputWidget(SlButton)
/* Only image, no label */
.button--has-prefix:not(.button--has-label) {
justify-content: center;
width: var(--sl-input-height-medium);
padding-inline-start: var(--sl-spacing-small);
}
`,
];
}