Skip to content

Commit

Permalink
fix: #3268 unstyled collapse input size (#3293)
Browse files Browse the repository at this point in the history
  • Loading branch information
c-h-o-n authored Dec 9, 2024
1 parent ff9dba2 commit 824092e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/styled/collapse.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ details.collapse summary {
.collapse-title,
:where(.collapse > input[type="checkbox"]),
:where(.collapse > input[type="radio"]) {
@apply w-full p-4 pe-12;
@apply p-4 pe-12;
min-height: 3.75rem;
transition: background-color 0.2s ease-out;
}
Expand Down
4 changes: 4 additions & 0 deletions src/components/unstyled/collapse.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
.collapse > input[type="radio"] {
@apply appearance-none opacity-0;
}
:where(.collapse > input[type="checkbox"]),
:where(.collapse > input[type="radio"]) {
@apply w-full h-full
}
.collapse-content {
@apply invisible col-start-1 row-start-2 min-h-0;
transition: visibility 0.2s;
Expand Down

0 comments on commit 824092e

Please sign in to comment.