X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Fmemory.css;h=650b0662c9b37aee1ab585196f991df1b43a44ed;hp=e094a6ba8593cda760792c3742b420ec0e55a534;hb=ec6b35d822a99b5e8ed93538398ec054713bb38b;hpb=d22068c79a3bb7b018bef6d15ff5d985d377ac6f diff --git a/LCARStrek/devtools/memory.css b/LCARStrek/devtools/memory.css index e094a6ba..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; }