feat: support .grid + small

See #271
This commit is contained in:
Lucas Larroche 2023-04-09 11:54:55 +07:00
parent a7567cc8b3
commit 021899557b
6 changed files with 13 additions and 9 deletions

View file

@ -2,6 +2,8 @@
@use "../settings" as *;
@if map.get($modules, "forms/basics") {
// Helper
$helper-previous-tags: "input, select, textarea";
/**
* Basics form elements
*/
@ -408,9 +410,11 @@
}
}
}
@if map.get($modules, "layout/grid") and $enable-classes {
$helper-previous-tags: $helper-previous-tags + ", .grid";
}
// Helper
:where(input, select, textarea) {
:where(#{$helper-previous-tags}) {
+ small {
display: block;
width: 100%;