related to #1609 when node has no children, arrow is gray and not clickable rather than invisible

This commit is contained in:
Matthieu Leproux
2022-04-11 16:05:13 +02:00
parent e8a47efd1f
commit 1b84de5eea
2 changed files with 10 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ $(document).ready(() => {
.replace(/%id%/g, node.id)));
} else {
cont.find('.move-cat-order').addClass("notClickable");
cont.append($(toggler_close
.replace(/%content%/g, toggler)
.replace(/%id%/g, node.id))).addClass("disabledToggle");
}
cont.append($(icon.replace(/%icon%/g, 'icon-grip-vertical-solid')));

View File

@@ -5891,6 +5891,12 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
font-weight:600;
}
.disabledToggle .move-cat-toogler{
color: gray;
opacity: 0.5;
pointer-events: none;
}
/* album search */
.search-album {