mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-11 12:41:43 +08:00
Improve the sub-menu arrows for the tree context menu
This commit is contained in:
parent
35faba2c2f
commit
4179f9c155
@ -3,6 +3,7 @@ import keyboardActionService from '../services/keyboard_actions.js';
|
|||||||
class ContextMenu {
|
class ContextMenu {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.$widget = $("#context-menu-container");
|
this.$widget = $("#context-menu-container");
|
||||||
|
this.$widget.addClass("dropend");
|
||||||
this.dateContextMenuOpenedMs = 0;
|
this.dateContextMenuOpenedMs = 0;
|
||||||
|
|
||||||
$(document).on('click', () => this.hide());
|
$(document).on('click', () => this.hide());
|
||||||
|
|||||||
@ -244,6 +244,11 @@ div.ui-tooltip {
|
|||||||
box-shadow: unset;
|
box-shadow: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropend .dropdown-toggle::after {
|
||||||
|
margin-left: .5em;
|
||||||
|
color: var(--muted-text-color);
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-menu .disabled {
|
.dropdown-menu .disabled {
|
||||||
color: #888 !important;
|
color: #888 !important;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user