[FIX] web_editor: adapt options' icons in RTL

The triangle pointing towards an option in the editor is pointing
right and the symbol └ is used to show a sub option in the editor panel.
In a RTL setting, this does not make sense and should be mirrored.

task-3284274

closes odoo/odoo#125153

X-original-commit: a66ff40b28717617e28387b22bdfe9e468242907
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Robin Lejeune (role)
2023-06-15 19:58:56 +02:00
parent 9f5578289a
commit 6e60016037
@@ -275,6 +275,10 @@
// browser default font, we should use a SVG instead.
display: inline-block;
margin-right: 0.4em;
.o_rtl & {
transform: scaleX(-1);
}
}
@for $level from 1 through 3 {
.o_we_sublevel_#{$level} {
@@ -1703,7 +1707,12 @@
content: '\f0da';
position: static;
transform: none;
.o_rtl & {
transform: scaleX(-1);
}
}
&.active {
&::after {