Skip to content

Commit

Permalink
fix: tooltips-hiding also hiding info in style settings tab
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser committed Oct 9, 2024
1 parent 7b1ed39 commit e98424d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions source/13 vim mode.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,19 @@
box-shadow: none;
}

/* ignoring tooltips in settings, since they are relevant there, e.g. for sliders */
.no-mouse-hovers div:not(.modal-container) + .tooltip,
.no-mouse-hovers .tooltip,
.no-mouse-hovers .is-live-preview .cm-embed-block:not(.cm-table-widget):hover .edit-block-button {
display: none;
}

/* keeping tooltips in settings, since they are relevant there, e.g. for sliders */
.no-mouse-hovers .modal-container + .tooltip,
.no-mouse-hovers
.app-container:has(.mod-active .workspace-leaf-content[data-type="style-settings"])
~ .tooltip {
display: unset;
}

/* ───────────────────────────────────────────────── */
/** Vim Panel
──────────────────────────────────────────────────── */
Expand Down

0 comments on commit e98424d

Please sign in to comment.