mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Popover pin should be darker when pinned
This commit is contained in:
parent
b140e72f11
commit
4f0c08126c
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export const SidebarPinnedButton = ({ state, component, updateState }) => {
|
|||
const tooltipMsg = state ? `Unpin ${component}` : `Pin ${component}`
|
||||
return (
|
||||
<SidebarPinnedButton.OverlayContainer tip={tooltipMsg}>
|
||||
<div className={`btn btn-light btn-sm m-1 ${(component === 'Inspector') && "position-absolute end-0" }`} onClick={updateState} >
|
||||
<div className={`btn btn-sm m-1 ${state ? 'btn-light' : 'btn-default'} ${(component === 'Inspector') && "position-absolute end-0" }`} onClick={updateState} >
|
||||
<img className="svg-icon" src={`/assets/images/icons/editor/left-sidebar/pinned.svg`} width="16" height="16" />
|
||||
</div>
|
||||
</SidebarPinnedButton.OverlayContainer>
|
||||
|
|
|
|||
Loading…
Reference in a new issue