Skip to content

Build your personal knowledge base with Trilium Notes

feat(client/rtl): handle transform-origin

Elian Doran668e1dff4b7b
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index 308fc2cdb0..6fa8dea854 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1436,6 +1436,10 @@ div#center-pane .floating-buttons-children {
opacity 250ms ease-out;
}
+body[dir=rtl] div#center-pane .floating-buttons-children {
+ transform-origin: left;
+}
+
/* Floating buttons container (collapsed) */
div#center-pane .floating-buttons-children.temporarily-hidden {
display: flex !important;