Skip to content

Node.js based forum software built for the modern web

fix: #14292, rtl css fix for cropper.js

Barış Soner Uşaklı6922b23d5ea4
diff --git a/public/scss/global.scss b/public/scss/global.scss
index e72a205907..5623a5467e 100644
--- a/public/scss/global.scss
+++ b/public/scss/global.scss
@@ -19,6 +19,16 @@ html[data-dir="rtl"] {
text-align: left;
}
}
+
+// rtl fixes for cropper.js rtl mode
+.cropper-container,
+.cropper-wrap-box,
+.cropper-canvas,
+.cropper-drag-box,
+.cropper-crop-box,
+.cropper-modal {
+ direction: ltr !important;
+}
/*rtl:end:ignore*/
[component="post/content"],
@@ -46,4 +56,4 @@ html[data-dir="rtl"] {
background-color: var(--btn-ghost-hover-color);
text-decoration: none;
}
-}
\ No newline at end of file
+}