Change tree icon size from 20px to 16px

Can be overridden in CSS now
This commit is contained in:
nathan 2023-01-09 14:36:44 -07:00
parent 56f84f2fdd
commit ffb26cb2f1
2 changed files with 13 additions and 6 deletions

View File

@ -224,6 +224,10 @@ export class et2_tree extends et2_inputWidget
image_path: widget.options.image_path,
checkbox: widget.options.multiple
});
// Allow controlling icon size by CSS
widget.input.def_img_x = "";
widget.input.def_img_y = "";
// to allow "," in value, eg. folder-names, IF value is specified as array
widget.input.dlmtr = ':}-*(';

View File

@ -4112,6 +4112,9 @@ button.shortcut-buttons-flatpickr-button {
font-weight: 700;
}
.standartTreeImage img {
width: 16px;
}
.selectedTreeRow {
background-color: rgba(102, 153, 204, 0.7);