mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-28 19:03:15 +01:00
Style: Update Toolhint
Z-Index and Add Toolhint for GlobalEnvironmentSelector
(#3284)
* style: add z-index for `ToolHint` * chore: add toohint for global env selector
This commit is contained in:
parent
2fc79e0e7f
commit
43cb2b82f3
@ -68,7 +68,12 @@ const CollectionToolBar = ({ collection }) => {
|
|||||||
<IconSettings className="cursor-pointer" size={18} strokeWidth={1.5} onClick={viewCollectionSettings} />
|
<IconSettings className="cursor-pointer" size={18} strokeWidth={1.5} onClick={viewCollectionSettings} />
|
||||||
</ToolHint>
|
</ToolHint>
|
||||||
</span>
|
</span>
|
||||||
|
<span>
|
||||||
|
<ToolHint text="Global Environments" toolhintId="GlobalEnvironmentsToolhintId">
|
||||||
<GlobalEnvironmentSelector />
|
<GlobalEnvironmentSelector />
|
||||||
|
</ToolHint>
|
||||||
|
</span>
|
||||||
|
|
||||||
<EnvironmentSelector collection={collection} />
|
<EnvironmentSelector collection={collection} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,6 +22,7 @@ const ToolHint = ({
|
|||||||
...tooltipStyle,
|
...tooltipStyle,
|
||||||
fontSize: '0.75rem',
|
fontSize: '0.75rem',
|
||||||
padding: '0.25rem 0.5rem',
|
padding: '0.25rem 0.5rem',
|
||||||
|
zIndex: 9999,
|
||||||
backgroundColor: toolhintBackgroundColor,
|
backgroundColor: toolhintBackgroundColor,
|
||||||
color: toolhintTextColor
|
color: toolhintTextColor
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user