X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Fmemory.css;h=650b0662c9b37aee1ab585196f991df1b43a44ed;hp=20b41e7d38e5408cefdfc5a9669680e06d12ba72;hb=b1d1a8bbaca0a31b2c2581911368b6892d447718;hpb=1e9e1791d430ae539727c01da67e7dbbf3adfa18 diff --git a/LCARStrek/devtools/memory.css b/LCARStrek/devtools/memory.css index 20b41e7d..650b0662 100644 --- a/LCARStrek/devtools/memory.css +++ b/LCARStrek/devtools/memory.css @@ -436,6 +436,10 @@ html, body, #app, #memory-tool { padding-inline-end: 5px; } +.children-pointer:dir(rtl) { + transform: scaleX(-1); +} + /** * Heap tree view columns */ @@ -477,7 +481,8 @@ html, body, #app, #memory-tool { * These subcolumns may have specific widths or need to flex. */ display: flex; - text-align: end; + /* Make sure units/decimals/... are always vertically aligned to right in both LTR and RTL locales */ + text-align: right; border-inline-end: var(--cell-border-color) 1px solid; } @@ -527,7 +532,11 @@ html, body, #app, #memory-tool { } .heap-tree-number { - padding-inline-start: 3px; + padding: 0 3px; + flex: 1; + color: var(--theme-content-color3); + /* Make sure number doesn't appear backwards on RTL locales */ + direction: ltr; } .heap-tree-percent { @@ -540,11 +549,6 @@ html, body, #app, #memory-tool { font-family: var(--monospace-font-family); } -.heap-tree-number { - flex: 1; - color: var(--theme-content-color3); -} - .heap-tree-percent { width: 4ch; } @@ -702,7 +706,7 @@ input[type="checkbox"] + span::before { height: 1em; border-radius: 0; border: 1px solid var(--theme-body-color); - -moz-margin-end: 10px; + margin-inline-end: 10px; background-color: var(--theme-toolbar-background); background-position: center center; background-repeat: no-repeat;