From 3d9861f9046ed2d3d2b15db694cc3909a5f29e60 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 8 Oct 2025 17:58:38 +0300 Subject: [PATCH] feat(client/rtl): handle transform --- apps/client/src/stylesheets/style.css | 4 ++++ apps/client/src/stylesheets/theme-next/shell.css | 4 ++++ apps/client/src/widgets/collections/geomap/index.css | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 06bc4ac01..95a0a450c 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -586,6 +586,10 @@ button.btn-sm { z-index: 1000; } +body[dir=rtl] .ck.ck-block-toolbar-button { + transform: translateX(-7px); +} + pre:not(.hljs) { color: var(--main-text-color) !important; white-space: pre-wrap; diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css index 6fa8dea85..59b2d0bfe 100644 --- a/apps/client/src/stylesheets/theme-next/shell.css +++ b/apps/client/src/stylesheets/theme-next/shell.css @@ -685,6 +685,10 @@ body.layout-vertical.background-effects div.quick-search .dropdown-menu { border-radius: 50%; } +body[dir=rtl] #left-pane span.fancytree-node.protected > span.fancytree-custom-icon:after { + transform: translateX(-25%); +} + body.mobile .fancytree-expander::before, body.mobile .fancytree-title, body.mobile .fancytree-node > span { diff --git a/apps/client/src/widgets/collections/geomap/index.css b/apps/client/src/widgets/collections/geomap/index.css index 3990ce63e..9fc5dee63 100644 --- a/apps/client/src/widgets/collections/geomap/index.css +++ b/apps/client/src/widgets/collections/geomap/index.css @@ -68,6 +68,10 @@ overflow: hidden; } +body[dir=rtl] .geo-map-container .leaflet-div-icon .title-label { + transform: translateX(50%); +} + .geo-map-container .leaflet-div-icon .archived { opacity: 0.5; }