Improve the sub-menu arrows for the tree context menu

This commit is contained in:
Adorian Doran 2024-11-20 02:56:18 +02:00
parent 35faba2c2f
commit 4179f9c155
3 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,7 @@ import keyboardActionService from '../services/keyboard_actions.js';
class ContextMenu {
constructor() {
this.$widget = $("#context-menu-container");
this.$widget.addClass("dropend");
this.dateContextMenuOpenedMs = 0;
$(document).on('click', () => this.hide());

View File

@ -244,6 +244,11 @@ div.ui-tooltip {
box-shadow: unset;
}
.dropend .dropdown-toggle::after {
margin-left: .5em;
color: var(--muted-text-color);
}
.dropdown-menu .disabled {
color: #888 !important;
pointer-events: none;