Skip to content

Commit

Permalink
Fix: streamlined checkbox display
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed May 13, 2024
1 parent e6d0e62 commit 2947b56
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions resources/css/plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
@apply sr-only text-sm !mb-2 block;
}

.table-repeater-column.has-hidden-label .fi-fo-field-wrp:has(.fi-checkbox-input) > label.fi-fo-checkbox-list-option-label {
@apply not-sr-only;
}

@media (min-width: calc(theme('screens.sm') + 1px)) {
.table-repeater-component.break-point-sm {
&.streamlined {
Expand All @@ -15,6 +19,7 @@
}

.fi-fo-field-wrp:has(.fi-fo-checkbox-list),
.fi-fo-field-wrp:has(.fi-checkbox-input),
.fi-fo-field-wrp:has(.fi-fo-radio) {
@apply py-2 px-3;
}
Expand Down Expand Up @@ -43,6 +48,7 @@
}

.fi-fo-field-wrp:has(.fi-fo-checkbox-list),
.fi-fo-field-wrp:has(.fi-checkbox-input),
.fi-fo-field-wrp:has(.fi-fo-radio) {
@apply py-2 px-3;
}
Expand Down Expand Up @@ -71,6 +77,7 @@
}

.fi-fo-field-wrp:has(.fi-fo-checkbox-list),
.fi-fo-field-wrp:has(.fi-checkbox-input),
.fi-fo-field-wrp:has(.fi-fo-radio) {
@apply py-2 px-3;
}
Expand Down Expand Up @@ -99,6 +106,7 @@
}

.fi-fo-field-wrp:has(.fi-fo-checkbox-list),
.fi-fo-field-wrp:has(.fi-checkbox-input),
.fi-fo-field-wrp:has(.fi-fo-radio) {
@apply py-2 px-3;
}
Expand Down Expand Up @@ -127,6 +135,7 @@
}

.fi-fo-field-wrp:has(.fi-fo-checkbox-list),
.fi-fo-field-wrp:has(.fi-checkbox-input),
.fi-fo-field-wrp:has(.fi-fo-radio) {
@apply py-2 px-3;
}
Expand Down

0 comments on commit 2947b56

Please sign in to comment.