Prevent checkbox and radio button from shrinking

pull/10249/head
Sage Abdullah 2023-03-17 11:02:54 +00:00 zatwierdzone przez Thibaud Colas
rodzic 58555abfb0
commit adaaf973e6
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -16,6 +16,8 @@ $radio-checkbox-label-gap: theme('spacing.[2.5]');
width: $size;
cursor: pointer;
margin-inline-end: $radio-checkbox-label-gap;
// Prevent the checkbox or radio button from shrinking when the label is long.
flex-shrink: 0;
&::before {
content: '';