diff options
| author | Mohammed Shekha <msh@odoo.com> | 2020-12-22 13:33:16 +0000 |
|---|---|---|
| committer | Mohammed Shekha <msh@odoo.com> | 2021-02-02 06:20:22 +0000 |
| commit | 0bd842ad62901499abb703c92b15496cdfa05cc0 (patch) | |
| tree | b9fa2f4f8c1fd7e78fe3543c6f2af4ecf30cf33f /addons/web/static | |
| parent | da758c44b19a9339f0c0b1b6a74c11e3e5491a64 (diff) | |
[FIX] web: popover opened in rtl takes full space
before this commit: smiley box popover in rtl langauge takes full space it is
because of left:0 given on o_popover class by default, which will be converted
to right:0 when in rtl language and popover position will computed by popper
will set left:'some pixels' due to which it takes full space.
after this commit: smiley box will be displayed with expected width,
unnecessary will not be added, as we have removed left:0 css, hence it will not
be converted to right:0 when in RTL mode.
task-2418264
closes odoo/odoo#63694
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/scss/popover.scss | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/popover.scss b/addons/web/static/src/scss/popover.scss index 500d097709e..5914fe51d28 100644 --- a/addons/web/static/src/scss/popover.scss +++ b/addons/web/static/src/scss/popover.scss @@ -55,8 +55,6 @@ max-width: 100vw; position: fixed; - top: 0; // will be updated in js - left: 0; // but let's set it in the viewport in case of test/debug z-index: 1060; border: 1px solid $border-color; background-color: #fff; |
