[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:
@@ -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%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user