Skip to content
Snippets Groups Projects
Commit 0df3ba30 authored by xaralis's avatar xaralis
Browse files

feat: more flexible form control spacing, some text utils whitelisted

parent da6ab623
No related branches found
No related tags found
No related merge requests found
Pipeline #2003 passed
...@@ -17,14 +17,25 @@ ...@@ -17,14 +17,25 @@
box-shadow: inset 0 2px 6px 0 rgba(0,0,0,.05); box-shadow: inset 0 2px 6px 0 rgba(0,0,0,.05);
} }
&, /* Allow bypass defualt positioning */
&--row-items { &:not(.form-field__wrapper--freeform) {
.form-field__control + .form-field__control { .form-field__control + .form-field__control {
@apply ml-4; @apply ml-4;
} }
} }
&--col-items { }
@responsive {
.form-field__wrapper--row-items {
@apply flex-row;
.form-field__control + .form-field__control {
@apply ml-4 mt-0;
}
}
.form-field__wrapper--col-items {
@apply flex-col; @apply flex-col;
.form-field__control + .form-field__control { .form-field__control + .form-field__control {
......
...@@ -36,6 +36,8 @@ module.exports = { ...@@ -36,6 +36,8 @@ module.exports = {
/^((sm|md|lg|xl)\:)?head-*/, /^((sm|md|lg|xl)\:)?head-*/,
/^((sm|md|lg|xl)\:)?clearfix/, /^((sm|md|lg|xl)\:)?clearfix/,
/opacity-*/, /opacity-*/,
/^truncate/,
/^break-*/,
/^duration-*/, /^duration-*/,
/^max-w-*/, /^max-w-*/,
/ico--*/, /ico--*/,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment