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 #44269

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
  • Loading branch information
bvr-odoo authored and qsm-odoo committed Jan 30, 2020
1 parent 2106ecd commit ada2fbb88f7915734207b089ebbefbfeb26f2586
@@ -867,8 +867,9 @@ table.table_desc tr td {
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 ada2fbb

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