fix: Fixed issue where links container toggle would correctly hide in focus mode

This commit is contained in:
Aman Harwara
2023-02-27 17:14:45 +05:30
parent bdc9dc171b
commit 91014648bb
2 changed files with 8 additions and 3 deletions

View File

@@ -145,6 +145,7 @@ const LinkedItemBubblesContainer = ({ item, linkingController }: Props) => {
</div>
{itemsToDisplay.length > 0 && (
<RoundIconButton
id="toggle-linking-container"
label="Toggle linked items container"
onClick={() => {
setIsCollapsed((isCollapsed) => !isCollapsed)

View File

@@ -37,12 +37,16 @@
overflow: hidden;
}
.note-view-linking-container {
.note-view-linking-container,
#toggle-linking-container {
display: none;
}
#editor-title-bar:hover .note-view-linking-container {
display: flex;
#editor-title-bar:hover {
.note-view-linking-container,
#toggle-linking-container {
display: flex;
}
}
.note-view-options-buttons,