Skip to content
Permalink
Browse files

[FIX] website: fix height and position of carousel indicators controls

In gallery snippet in carousel mode, fix the fact that the height of
the controls are bigger that the others squares and fix also the wrong
position of the indicators.

task-2162952

closes #48365

X-original-commit: ada2fbb
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information
bvr-odoo authored and qsm-odoo committed Jan 30, 2020
1 parent 427666c commit 9752596abfcae6b0bbf79ac675fe9e304a068a21
@@ -136,8 +136,9 @@
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
margin: 2.5px 2.5px 2.5px 2.5px;
padding: 0;
padding: 0 !important;
border: 1px solid #aaa;
text-indent: initial;
background-size: cover;
@@ -20,13 +20,13 @@
</div>

<ul class="carousel-indicators">
<li class="o_indicators_left text-center pt-2" aria-label="Previous" title="Previous">
<li class="o_indicators_left text-center" aria-label="Previous" title="Previous">
<i class="fa fa-chevron-left"/>
</li>
<t t-foreach="srcs" t-as="src">
<li t-attf-data-target="##{id}" t-att-data-slide-to="src_index" t-att-class="src_index == index and 'active'" t-attf-style="background-image: url(#{src})"></li>
</t>
<li class="o_indicators_right text-center pt-2" aria-label="Next" title="Next">
<li class="o_indicators_right text-center" aria-label="Next" title="Next">
<i class="fa fa-chevron-right"/>
</li>
</ul>

0 comments on commit 9752596

Please sign in to comment.
You can’t perform that action at this time.