[FIX] website: s_product_list: buttons are not at the right position

In Bootstrap 5 the `.col-X` classes don't have position relative anymore
and the button use position absolute (relative to its parent) to
position themselves.

> Columns no longer have position: relative applied, so you may have to
> add .position-relative to some elements to restore that behavior.

Ref:
https://getbootstrap.com/docs/5.1/migration/#grid-updates

Note: we have set the position relative in CSS to avoid doing a
migration script.

closes odoo/odoo#98768

Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
This commit is contained in:
Romeo Fragomeli
2022-08-25 03:11:54 +02:00
parent bf9ae3bbc8
commit 259e564a3c
@@ -3,6 +3,7 @@
padding-top: 20px;
> div > .row > div {
position: relative;
margin-bottom: 20px; // without this style the columns go directly to the top of the bellow ones.
height: 200px;