fix: Fixed issue where links container toggle would correctly hide in focus mode
This commit is contained in:
@@ -145,6 +145,7 @@ const LinkedItemBubblesContainer = ({ item, linkingController }: Props) => {
|
|||||||
</div>
|
</div>
|
||||||
{itemsToDisplay.length > 0 && (
|
{itemsToDisplay.length > 0 && (
|
||||||
<RoundIconButton
|
<RoundIconButton
|
||||||
|
id="toggle-linking-container"
|
||||||
label="Toggle linked items container"
|
label="Toggle linked items container"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIsCollapsed((isCollapsed) => !isCollapsed)
|
setIsCollapsed((isCollapsed) => !isCollapsed)
|
||||||
|
|||||||
@@ -37,12 +37,16 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-view-linking-container {
|
.note-view-linking-container,
|
||||||
|
#toggle-linking-container {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#editor-title-bar:hover .note-view-linking-container {
|
#editor-title-bar:hover {
|
||||||
display: flex;
|
.note-view-linking-container,
|
||||||
|
#toggle-linking-container {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-view-options-buttons,
|
.note-view-options-buttons,
|
||||||
|
|||||||
Reference in New Issue
Block a user