pull/1186/head
Cory LaViska 2023-02-05 11:08:57 -05:00
rodzic 8685ddd049
commit 3c2cda699e
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -247,7 +247,7 @@ Use [CSS parts](#css-parts) to customize the way form controls are drawn. This e
<style>
.label-on-left {
--label-width: 60px;
--label-width: 3.75rem;
--gap-width: 1rem;
}
@ -267,8 +267,7 @@ Use [CSS parts](#css-parts) to customize the way form controls are drawn. This e
}
.label-on-left::part(form-control-help-text) {
grid-column: span 2;
padding-left: calc(var(--label-width) + var(--gap-width));
grid-column-start: 2;
}
</style>
```