[FIX] web: fix css issue with rtl in calendar view

This commit fixes following html block [1]

``` xml
<div class="fc-content">
            <span class="fc-time">08:00</span>
            <div class="o_event_title">Mitchel Admin - Administrator</div>
</div>
```

`rtlcss` lib changes `padding-right` to `padding-left`, which doesn't work if we
use `span` block next to `div` block, because position of the blocks are not
changed (time is still on the left side and title is on the right). Adding the
`ignore` directive solves the issue.

[1]: https://github.com/odoo/odoo/blob/4a996060e6b922fecb299eca32d6763dbb12b831/addons/web/static/src/legacy/xml/web_calendar.xml#L16-L17

opw-2925491

closes odoo/odoo#97129

X-original-commit: e6807b75e33ab3a083c84ace0b6c337e7566e64b
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: Ivan Elizaryev (iel) <iel@odoo.com>
This commit is contained in:
Ivan Yelizariev
2022-08-01 09:34:39 +02:00
parent 1a65d18ef7
commit 31c45b321b
@@ -342,6 +342,7 @@ $o-cw-filter-avatar-size: 20px;
}
.fc-time:not(:empty) {
/*rtl:ignore*/
padding-right: 0.5em;
}