From c7c2f5743bffd1036f91a4a1c59019b4e4f8c70c Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Mon, 15 Jun 2015 10:23:03 +0200 Subject: [FIX] base: export translation In css, overflow-x and overflow-y must have the same value. If overflow-x is equal to auto then overflow-y is equal to auto. To solve the problem, the height of the input is removed because it is forced by the Jquery auto-completion plugin according to the wrapper. Without this patch, when you go to Settings > Import/Export > Export Translation and click on the arrow to to show the list of modules you can export, the list is partially hidden. opw:632607 --- addons/web/static/src/css/base.css | 2 +- addons/web/static/src/css/base.sass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index e8d07654d97..06eaab19fc3 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -608,7 +608,7 @@ width: 100% !important; } .openerp .oe_tags .text-core { - min-height: 22px; + height: initial !important } .openerp .oe_tags .text-core .text-wrap .text-dropdown .text-list .text-suggestion em { font-style: italic; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 9c2ebe28acb..5322db067ad 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -549,7 +549,7 @@ $sheet-padding: 16px textarea width: 100% !important .text-core - min-height: 22px + height: initial !important .text-wrap .text-dropdown .text-list .text-suggestion em font-style: italic text-decoration: none -- cgit v1.2.3 From 4fbecc35e1d37253ef9470208cafd0d2739f57f4 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Wed, 17 Jun 2015 16:09:51 +0200 Subject: [FIX] web: break tags containing very long words Otherwise they overlap with the rest of the form. opw-641567 --- addons/web/static/src/css/base.css | 4 +++- addons/web/static/src/css/base.sass | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/css') diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 06eaab19fc3..ac5926f89f7 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -567,6 +567,7 @@ border-radius: 3px; background: #f0f0fa; color: #4C4C4C; + word-break: break-word; } .openerp .oe_tag_dark { background: #7C7BAD; @@ -608,7 +609,8 @@ width: 100% !important; } .openerp .oe_tags .text-core { - height: initial !important + height: initial !important; + word-break: break-word; } .openerp .oe_tags .text-core .text-wrap .text-dropdown .text-list .text-suggestion em { font-style: italic; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 5322db067ad..f45ee525d95 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -516,6 +516,7 @@ $sheet-padding: 16px @include radius(3px) background: $tag-bg-light color: #4C4C4C + word-break: break-word .oe_tag_dark background: $tag-bg-dark color: #eee @@ -550,6 +551,7 @@ $sheet-padding: 16px width: 100% !important .text-core height: initial !important + word-break: break-word .text-wrap .text-dropdown .text-list .text-suggestion em font-style: italic text-decoration: none -- cgit v1.2.3