[FIX] web_editor, website: fix fullscreen mode with right panel

Since [1], the editor panel is now on the right. The fullscreen mode
was not adapted correctly.

[1]: https://github.com/odoo/odoo/pull/57975

closes odoo/odoo#58242

X-original-commit: 8359ae12d8049ecf6f6de810ae74f096769038e2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2020-09-22 14:17:01 +00:00
parent 56f04a273f
commit 45604d255c
2 changed files with 5 additions and 5 deletions
@@ -257,7 +257,7 @@ body.editor_enable.editor_has_snippets {
font-weight: 400;
transition: transform 400ms ease 0s;
transform: translateY(-100%);
transform: translateX(100%);
&.o_loaded {
transform: none;
@@ -15,7 +15,7 @@ body.o_connected_user {
&.o_fullscreen_transition {
transition: padding 400ms ease 0s;
#oe_main_menu_navbar, #web_editor-top-edit, #oe_snippets {
#oe_main_menu_navbar, #web_editor-top-edit, .o_we_website_top_actions, #oe_snippets {
transition: transform 400ms ease 0s !important;
}
}
@@ -23,13 +23,13 @@ body.o_connected_user {
padding-top: 0 !important;
&.editor_enable.editor_has_snippets {
padding-left: 0 !important;
padding-right: 0 !important;
}
#oe_main_menu_navbar, #web_editor-top-edit {
transform: translateY(-100%);
}
#oe_snippets {
transform: translateX(-100%);
.o_we_website_top_actions, #oe_snippets {
transform: translateX(100%);
}
}
}