From 1d6caf5bdd550545ba91dcc9138ce3f212fc5e7f Mon Sep 17 00:00:00 2001 From: hadi Date: Mon, 25 Sep 2023 13:54:13 +0200 Subject: [PATCH] Fix sub categories styling --- api/templates/default/etemplate2.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 5c3c7df412..3b8969ada6 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1431,15 +1431,15 @@ div.et2_vfsPath li img { } /* Category indents in select options */ -sl-menu-item.cat_level1::part(label) { +sl-option.cat_level1::part(label) { padding-left: var(--sl-spacing-medium, 1em); } -sl-menu-item.cat_level2::part(label) { +sl-option.cat_level2::part(label) { padding-left: calc(2 * var(--sl-spacing-medium, 1em)); } -sl-menu-item.cat_level3::part(label) { +sl-option.cat_level3::part(label) { padding-left: calc(3 * var(--sl-spacing-medium, 1em)); }