Skip to content
Snippets Groups Projects
Commit 2761fec0 authored by Romain Estievenart's avatar Romain Estievenart
Browse files

[FIX] web_enterprise: stat buttons not align on iPad


Steps to produce:

1. Go to 'Contacts'
2. Select a contact
3. Click on "More" stat button

To fix this, we need to force the padding to avoid touch_device rules.

closes odoo/odoo#42008

Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
parent 105aad1c
Branches
Tags
No related merge requests found
......@@ -332,7 +332,8 @@
.btn.oe_stat_button {
color: $o-main-text-color;
height: $o-statbutton-height;
padding: 0 $o-statbutton-spacing 0 0; // padding-left will be achieved through margin-left of content
// Use !important to avoid touch_device style
padding: 0 $o-statbutton-spacing 0 0 !important; // padding-left will be achieved through margin-left of content
text-align: left;
white-space: nowrap;
background-color: transparent;
......@@ -436,8 +437,6 @@
@include media-breakpoint-down(sm) {
display: inline-block;
width: percentage(1/3);
// avoid touch_device style
padding: inherit!important;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment