File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
packages/ui-components/src/Common/Tabs Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 2727 rounded-xs
2828 border
2929 border-neutral-200
30- p-0.5
31- text-[10px ]
30+ px-1
31+ py-0.5
32+ text-xs
3233 font-normal
33- text-neutral-800
34- dark:text-neutral-200;
34+ text-neutral-200;
3535 }
3636
3737 .tabSecondaryLabel {
4747 dark:text-green-400;
4848
4949 .tabExtension {
50- @apply border-green-600
51- text-green-600
52- dark:border-green-400
53- dark:text-green-400;
50+ @apply border-green-400
51+ text-green-400;
5452 }
5553
5654 .tabSecondaryLabel {
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ const Tabs: FC<PropsWithChildren<TabsProps>> = ({
3838 className = { classNames ( styles . tabsTrigger , triggerClassName ) }
3939 >
4040 { tab . label }
41- { tab . extension ? (
41+ { tab . extension && (
4242 < span className = { styles . tabExtension } > { tab . extension } </ span >
43- ) : null }
43+ ) }
4444 { tab . secondaryLabel ? (
4545 < span className = { styles . tabSecondaryLabel } >
4646 { tab . secondaryLabel }
You can’t perform that action at this time.
0 commit comments