diff --git a/addons/web/static/src/legacy/scss/ui.scss b/addons/web/static/src/legacy/scss/ui.scss index 67ee39c6ba4..1a90e27be0e 100644 --- a/addons/web/static/src/legacy/scss/ui.scss +++ b/addons/web/static/src/legacy/scss/ui.scss @@ -132,12 +132,22 @@ span.o_force_ltr { display: inline; } -.o_force_ltr, .o_field_phone { +.o_force_ltr { unicode-bidi: embed; // ensure element has level of embedding for direction /*rtl:ignore*/ direction: ltr; } +/* rtl:raw: +[type="tel"], +[type="url"], +[type="email"], +[type="number"], +.o_force_ltr { + text-align: end !important; +} +*/ + // To fill the available space while keeping aspect ratio (crop). // Assuming the important part of the image is its center. .o_object_fit_cover {