mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-15 22:27:51 +01:00
Border at the bottom has been added for the tabs to differntiate from unselected tabs (#1509)
* Border at the bottom has been added for the tabs to differntiate from unselected tabs while using contrast themes * Update Tabs.tsx * Update Tabs.tsx
This commit is contained in:
parent
ceb66ed5b8
commit
19041ffedd
@ -127,7 +127,12 @@ function TabNav({ tab, active, tabKind }: { tab?: Tab; active: boolean; tabKind?
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<span className="tabNavText">{useObservable(tab?.tabTitle || getReactTabTitle())}</span>
|
<span
|
||||||
|
className="tabNavText"
|
||||||
|
style={active ? { fontWeight: "bolder", borderBottom: "2px solid rgba(0,120,212,1)" } : {}}
|
||||||
|
>
|
||||||
|
{useObservable(tab?.tabTitle || getReactTabTitle())}
|
||||||
|
</span>
|
||||||
{tabKind !== ReactTabKind.Home && (
|
{tabKind !== ReactTabKind.Home && (
|
||||||
<span className="tabIconSection">
|
<span className="tabIconSection">
|
||||||
<CloseButton tab={tab} active={active} hovering={hovering} tabKind={tabKind} />
|
<CloseButton tab={tab} active={active} hovering={hovering} tabKind={tabKind} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user