Skip to content

Commit

Permalink
fix button wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 16, 2022
1 parent 3a9b253 commit 39ef361
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/components/styled/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@
}
}
/* group */
.btn-group {
@apply flex-nowrap;

.btn-group {
& > input[type="radio"]:checked.btn,
& > .btn-active {
@apply border-primary bg-primary text-primary-content;
Expand Down
2 changes: 1 addition & 1 deletion src/components/unstyled/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

/* group */
.btn-group {
@apply flex flex-wrap;
@apply inline-flex;
& > input[type="radio"].btn {
@apply appearance-none;
}
Expand Down
4 changes: 2 additions & 2 deletions src/utilities/unstyled/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@

/* group */
.btn-group-horizontal {
@apply flex-row flex-wrap;
@apply flex-row;
}
.btn-group-vertical {
@apply flex-col flex-nowrap;
@apply flex-col;
}

0 comments on commit 39ef361

Please sign in to comment.