[FIX] website_slides: fix sidebar overlay

In the course fullscreen view, a black overlay is
hovering the content on medium screen size and lower
when the sidebar is active.

Fix the black overlay which is still showing after
closing the sidebar. When the sidebar is close the
overlay shouldn't be displayed.

As the content is translated to the right and still
fully visible on medium screen size, a black overlay
isn't needed. Only show the black overlay for small
screen size and lower.

Task-3371743

closes odoo/odoo#126118

X-original-commit: f8c45330605837c61f20bed962532b339afc4460
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
amdi-odoo
2023-06-23 08:10:51 +02:00
parent 92442878b7
commit 71823f54f5
2 changed files with 2 additions and 2 deletions
@@ -56,7 +56,7 @@
}
}
@include media-breakpoint-up (md) {
@include media-breakpoint-up (sm) {
width: $o-wslides-fs-side-width;
&.o_wslides_fs_sidebar_hidden {
@@ -88,7 +88,7 @@
</t>
</ul>
</div>
<a href="#" class="o_wslides_fs_toggle_sidebar d-lg-none bg-black-50"/>
<a href="#" class="o_wslides_fs_toggle_sidebar d-md-none bg-black-50"/>
</div>
</div>
</div>