[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user