Skip to content

Commit

Permalink
fix: tab margin
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed May 7, 2021
1 parent ed612ab commit 283f0ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/styled/tab.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
border-width: 0 0 var(--tab-border, 1px) 0;
border-top-left-radius: var(--tab-radius, .5rem);
border-top-right-radius: var(--tab-radius, .5rem);
border-bottom-color: hsla(var(--b3, 216 12% 84%) / var(--tw-border-opacity, 1));
border-bottom-color: hsla(var(--border-color, var(--b3, 216 12% 84%)) / var(--tw-border-opacity, 1));
padding-left: var(--tab-padding, 1rem);
padding-right: var(--tab-padding, 1rem);
&.tab-active{
@apply bg-base-100;
border-width: var(--tab-border, 1px) var(--tab-border, 1px) 0 var(--tab-border, 1px);
border-left-color: hsla(var(--b3, 216 12% 84%) / var(--tw-border-opacity, 1));
border-right-color: hsla(var(--b3, 216 12% 84%) / var(--tw-border-opacity, 1));
border-top-color: hsla(var(--b3, 216 12% 84%) / var(--tw-border-opacity, 1));
border-left-color: hsla(var(--border-color, var(--b3, 216 12% 84%)) / var(--tw-border-opacity, 1));
border-right-color: hsla(var(--border-color, var(--b3, 216 12% 84%)) / var(--tw-border-opacity, 1));
border-top-color: hsla(var(--border-color, var(--b3, 216 12% 84%)) / var(--tw-border-opacity, 1));
padding-left: calc( var(--tab-padding, 1rem) - var(--tab-border, 1px) );
padding-right: calc( var(--tab-padding, 1rem) - var(--tab-border, 1px) );
padding-bottom: var(--tab-border, 1px);
Expand Down

0 comments on commit 283f0ec

Please sign in to comment.