diff options
| author | Romain Estievenart <res@odoo.com> | 2019-12-17 11:07:19 +0000 |
|---|---|---|
| committer | Romain Estievenart <res@odoo.com> | 2019-12-17 11:07:19 +0000 |
| commit | 4e536a4ac018361ce926a94d77483f7413001e0d (patch) | |
| tree | c6d30fd5f7106c599fb771f904806d49910d2f85 | |
| parent | 4ddac940c8b2a0169638a1a626450700eba9756d (diff) | |
[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#42033
X-original-commit: 2761fec0e152c08dcd2d63bf5dbce94fee2b6a7b
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
| -rw-r--r-- | addons/web/static/src/scss/form_view.scss | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index 43fa9eff3a9..422cc70c192 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -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; } } } |
