summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/base_document_layout.scss
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2020-02-20 12:29:42 +0000
committerAdrien Dieudonne <adr@odoo.com>2020-02-20 14:47:04 +0000
commit62c9227fdaac43329e48cd9446b40eee60dfeb1c (patch)
treef35bf1e5aa5f7590b8d58110b9b4dfb27531d4af /addons/web/static/src/scss/base_document_layout.scss
parentffbb32209a6a8d0949453ca0fce4947b03abd9d6 (diff)
[FIX] web: document layout configuration: style not scoped
Commit 9a482fc introduced change for the document layout preview: all "td" tag included in clearfix were in display: flex; Because of this some styles were broken in form views on mobile. We could have only put this rule in the right scope but we preferred to fix this correctly. Steps to reproduce: - Go to Settings - General Settings - Click on Configure Document Layout Related to task-ID: 2184243 closes odoo/odoo#45830 X-original-commit: 0206ee8f8a3652ae0eeb5aa78a94b92bd6e84921 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss/base_document_layout.scss')
-rw-r--r--addons/web/static/src/scss/base_document_layout.scss12
1 files changed, 0 insertions, 12 deletions
diff --git a/addons/web/static/src/scss/base_document_layout.scss b/addons/web/static/src/scss/base_document_layout.scss
index 20378848e26..bf75cb71158 100644
--- a/addons/web/static/src/scss/base_document_layout.scss
+++ b/addons/web/static/src/scss/base_document_layout.scss
@@ -107,12 +107,6 @@
border-top: 1px solid;
margin: 0;
}
- .clearfix table {
- border-top: none;
- .o_subtotal td {
- border: none;
- }
- }
thead th {
border-top: 1px solid;
text-transform: uppercase;
@@ -154,9 +148,3 @@
flex-direction: column;
}
}
-
-@media (max-width: 992px) {
- .clearfix td {
- display: flex;
- }
-}