]> git.openstreetmap.org Git - rails.git/commitdiff
Fix positioning of placeholder text in RTL mode
authorTom Hughes <tom@compton.nu>
Thu, 16 Nov 2023 22:52:30 +0000 (22:52 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 16 Nov 2023 22:54:03 +0000 (22:54 +0000)
Fixes #3910

app/assets/stylesheets/common.scss

index fe78a45ab947e313e7fda4c5659e48f3d294baec..6236d3c3d04e60b54568ceb64b9acef25be1c958 100644 (file)
@@ -729,6 +729,12 @@ tr.turn:hover {
   }
 }
 
+/* Force LTR/RTL alignment for placeholder text */
+
+.form-control::placeholder {
+  text-align: left;
+}
+
 /* Rules for export sidebar */
 
 .export_form {