mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixing display of tree checkboxes
This commit is contained in:
parent
14895a2056
commit
1408198e70
@ -687,6 +687,7 @@ li.class-ErrorPage > a .jstree-pageicon { background-position: 0 -112px; }
|
||||
|
||||
.cms-tree { visibility: hidden; }
|
||||
.cms-tree.multiple li > a > .jstree-icon { display: none; }
|
||||
.cms-tree.multiple li > a > .jstree-icon.jstree-checkbox { display: inline-block; }
|
||||
.cms-tree.multiple li#record-0 > a .jstree-checkbox { display: none; }
|
||||
|
||||
/** Styles for the left hand side menu and header for the admin panels. Take into consideration CSS selector performance. @package framework @subpackage admin */
|
||||
|
@ -610,9 +610,15 @@ li.class-ErrorPage > a .jstree-pageicon {
|
||||
visibility: hidden; // enabled by JS to avoid layout glitches
|
||||
|
||||
&.multiple {
|
||||
// Hide draggable icon when multiselect is enabled
|
||||
li > a > .jstree-icon {
|
||||
display: none;
|
||||
li > a {
|
||||
// Hide draggable icon when multiselect is enabled
|
||||
& > .jstree-icon {
|
||||
display: none;
|
||||
}
|
||||
// But show the checkbox
|
||||
& > .jstree-icon.jstree-checkbox {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
li#record-0 {
|
||||
|
Loading…
Reference in New Issue
Block a user