Skip to content

Commit

Permalink
fix: #2573 tab styles (#2574)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi6jp authored Nov 25, 2023
1 parent 5bce523 commit 2ddbc48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/styled/tab.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.tabs-lifted .tab:focus-visible {
.tabs-lifted > .tab:focus-visible {
border-end-end-radius: 0;
border-end-start-radius: 0;
}
Expand Down Expand Up @@ -33,12 +33,12 @@
}
}
}
.tabs-bordered .tab {
.tabs-bordered > .tab {
@apply border-base-content border-opacity-20;
border-style: solid;
border-bottom-width: calc(var(--tab-border, 1px) + 1px);
}
.tabs-lifted .tab {
.tabs-lifted > .tab {
border: var(--tab-border, 1px) solid transparent;
border-width: 0 0 var(--tab-border, 1px) 0;
border-start-start-radius: var(--tab-radius, 0.5rem);
Expand Down Expand Up @@ -107,11 +107,11 @@
}
}
}
.tabs-lifted
.tabs-lifted >
.tab-active:not(.tab-disabled):not([disabled])
+ .tabs-lifted
.tab-active:not(.tab-disabled):not([disabled]),
.tabs-lifted .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked) {
.tabs-lifted > .tab:is(input:checked) + .tabs-lifted .tab:is(input:checked) {
&:before {
background-image: var(--radius-end);
background-position: top right;
Expand Down

0 comments on commit 2ddbc48

Please sign in to comment.