Skip to content
Snippets Groups Projects
Commit 904a0434 authored by Gorash's avatar Gorash Committed by qsm-odoo
Browse files

[FIX] web: avoid a scrollbar when a carousel is added in pages


On Chrome, the browser displayed an horizontal scrollbar because the
sr-only item inside the 'next' arrow was positioned absolutely, outside
of the arrow, and thus outside of the window. This happened for the
website carousel snippet when added in pages for instance.

opw-2585526

closes odoo/odoo#73641

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent bfdb207c
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,7 @@
// They would go over floating elements, which is never what we want.
clear: both;
}
.carousel-control-next .sr-only {
left: 50%; // Avoid horizontal scrollbar in Chrome
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment