Skip to content

Commit

Permalink
fix: #1142
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 16, 2022
1 parent 74317c8 commit 3f53ef7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utilities/styled/button.css
Expand Up @@ -7,29 +7,29 @@
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.btn:first-of-type {
.btn:first-of-type:not(:last-of-type) {
@apply -ml-px -mt-0;
border-top-left-radius: var(--rounded-btn, 0.5rem);
border-top-right-radius: 0;
border-bottom-left-radius: var(--rounded-btn, 0.5rem);
border-bottom-right-radius: 0;
}
.btn:last-of-type {
.btn:last-of-type:not(:first-of-type) {
border-top-left-radius: 0;
border-top-right-radius: var(--rounded-btn, 0.5rem);
border-bottom-left-radius: 0;
border-bottom-right-radius: var(--rounded-btn, 0.5rem);
}
}
.btn-group.btn-group-vertical {
.btn:first-of-type {
.btn:first-of-type:not(:last-of-type) {
@apply -ml-0 -mt-px;
border-top-left-radius: var(--rounded-btn, 0.5rem);
border-top-right-radius: var(--rounded-btn, 0.5rem);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.btn:last-of-type {
.btn:last-of-type:not(:first-of-type) {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: var(--rounded-btn, 0.5rem);
Expand Down

0 comments on commit 3f53ef7

Please sign in to comment.