chore: editor header not working correctly in focus mode on macOS [skip e2e]

This commit is contained in:
Aman Harwara
2024-02-26 20:46:38 +05:30
parent 06ca2bdedb
commit f8e3c4bbbd
2 changed files with 12 additions and 9 deletions

View File

@@ -77,6 +77,10 @@
-webkit-app-region: drag; -webkit-app-region: drag;
} }
.mac-desktop.focus-mode #editor-title-bar {
-webkit-app-region: no-drag;
}
.mac-desktop [data-dialog-portal]:has([data-dialog])::after { .mac-desktop [data-dialog-portal]:has([data-dialog])::after {
content: ''; content: '';
position: absolute; position: absolute;

View File

@@ -41,11 +41,18 @@
display: none; display: none;
} }
#editor-title-bar:hover { #editor-title-bar:hover,
#editor-title-bar:has(:focus) {
.note-view-linking-container, .note-view-linking-container,
#toggle-linking-container { #toggle-linking-container {
display: flex; display: flex;
} }
.note-view-options-buttons,
.note-status-tooltip-container,
#conflict-resolution-button {
opacity: 1;
}
} }
.note-view-options-buttons, .note-view-options-buttons,
@@ -53,14 +60,6 @@
#conflict-resolution-button { #conflict-resolution-button {
opacity: 0; opacity: 0;
} }
#editor-title-bar:hover {
.note-view-options-buttons,
.note-status-tooltip-container,
#conflict-resolution-button {
opacity: 1;
}
}
} }
#editor-menu-bar { #editor-menu-bar {