tree: the extra mile - use rem instead of px #1067

This commit is contained in:
Sören Weber 2025-03-24 16:34:44 +01:00
parent d93aad133c
commit 3210717a61
No known key found for this signature in database
GPG Key ID: BEC6D55545451B6D
2 changed files with 11 additions and 11 deletions

View File

@ -1779,16 +1779,16 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
color: var(--INTERNAL-MAIN-TEXT-color); color: var(--INTERNAL-MAIN-TEXT-color);
margin-bottom: 0; margin-bottom: 0;
margin-inline-end: 0; margin-inline-end: 0;
margin-inline-start: 8px; margin-inline-start: 0.5rem;
margin-top: 0; margin-top: 0;
padding-bottom: 0; padding-bottom: 0;
padding-inline-end: 12px; padding-inline-end: 0.75rem;
padding-inline-start: 20px; padding-inline-start: 1.25rem;
padding-top: 0; padding-top: 0;
position: relative; position: relative;
} }
.list-tree > ul > li { .list-tree > ul > li {
margin-inline-start: calc(-1rem + 8px); margin-inline-start: calc(-0.5rem);
} }
.list-tree li::before, .list-tree li::before,
@ -1803,8 +1803,8 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
.list-tree li::before { .list-tree li::before {
border-top: 2px solid var(--INTERNAL-MAIN-TEXT-color); border-top: 2px solid var(--INTERNAL-MAIN-TEXT-color);
height: 0; height: 0;
top: 11px; top: 0.75rem;
width: 15px; width: 1rem;
} }
/* vertical line on list items */ /* vertical line on list items */
@ -1812,17 +1812,17 @@ html[dir='rtl'] .expand[open] > .box-label > i.expander-icon {
.list-tree li:after { .list-tree li:after {
border-left: 2px solid var(--INTERNAL-MAIN-TEXT-color); border-left: 2px solid var(--INTERNAL-MAIN-TEXT-color);
height: 100%; height: 100%;
top: -8px; top: -0.5rem;
width: 0px; width: 0;
} }
.list-tree ul:last-child li:last-child:after { .list-tree ul:last-child li:last-child:after {
height: 20px; height: 1.25rem;
} }
.list-tree i { .list-tree i {
color: var(--INTERNAL-PRIMARY-color); color: var(--INTERNAL-PRIMARY-color);
margin-inline-end: 3px; margin-inline-end: 0.25rem;
} }
/* icons with style attribute */ /* icons with style attribute */

View File

@ -1 +1 @@
7.5.0+42ccc9d636add605d68ed4bb22dc86aa90ae7241 7.5.0+d93aad133c2fcc9455101bb698f3ea2f614f455f