mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Resolved tabs highlight color issue (#2900)
This commit is contained in:
parent
794e708e6a
commit
efeef4d0db
1 changed files with 5 additions and 0 deletions
|
|
@ -77,6 +77,11 @@ export const Tabs = function Tabs({
|
|||
? { color: parsedHighlightColor, borderBottom: `1px solid ${parsedHighlightColor}` }
|
||||
: {}
|
||||
}
|
||||
ref={(el) => {
|
||||
if (el && currentTab == tab.id) {
|
||||
el.style.setProperty('color', parsedHighlightColor, 'important');
|
||||
}
|
||||
}}
|
||||
>
|
||||
{tab.title}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue