summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2015-10-19 10:41:09 +0200
committerYannick Tivisse <yti@odoo.com>2015-11-20 16:41:37 +0100
commit9f2b6e00ef618436f52660ef207f330369309eb0 (patch)
tree99af10710503142077cd73d3aecd32bbad8ecbf3 /addons/website/static/src/css
parenta8239cd2ae300f94ea0efa39d52addac6574b992 (diff)
[IMP] website: Add a class btn-multi-line to allow multi line labels on buttons
On website_quote, according to the translation, the label may become much larger than the button width. By default the bootstrap btn class has the property 'white-space: nowrap' Here the goal is to add a class which will be used for these kind of cases.
Diffstat (limited to 'addons/website/static/src/css')
-rw-r--r--addons/website/static/src/css/website.css4
-rw-r--r--addons/website/static/src/css/website.sass2
2 files changed, 6 insertions, 0 deletions
diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css
index 09310f8b054..2e4764c469e 100644
--- a/addons/website/static/src/css/website.css
+++ b/addons/website/static/src/css/website.css
@@ -238,6 +238,10 @@ ul.nav-stacked > li > a {
width: 220px;
}
+.o_normalwhitespace {
+ white-space: normal;
+}
+
.oe_demo {
position: relative;
}
diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass
index 4653e25bcbb..206eedf4480 100644
--- a/addons/website/static/src/css/website.sass
+++ b/addons/website/static/src/css/website.sass
@@ -185,6 +185,8 @@ ul.nav-stacked > li > a
.logo-img
width: 220px
+.o_normalwhitespace
+ white-space: normal
.oe_demo
position: relative