From e089f296d266bb5a1ea957d1d1c728433f8821fc Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 7 Jan 2015 15:45:50 +0100 Subject: [PATCH] [FIX] website: with firefox the responsive images inside a table are not resize; When entering values in the table , the table size extended evenif the text limit is not reached..will never go to the next line --- addons/website/static/src/css/website.css | 4 ++++ addons/website/static/src/css/website.sass | 3 +++ 2 files changed, 7 insertions(+) diff --git a/addons/website/static/src/css/website.css b/addons/website/static/src/css/website.css index 89b315a14f3..cacf74d4108 100644 --- a/addons/website/static/src/css/website.css +++ b/addons/website/static/src/css/website.css @@ -228,6 +228,10 @@ hr { padding-bottom: 10px; } +table.table { + table-layout: fixed; +} + #wrapwrap p:empty:after { content: "⁠"; } diff --git a/addons/website/static/src/css/website.sass b/addons/website/static/src/css/website.sass index 2e722b9f857..23f69baf0b0 100644 --- a/addons/website/static/src/css/website.sass +++ b/addons/website/static/src/css/website.sass @@ -153,6 +153,9 @@ hr margin-bottom: 10px padding-bottom: 10px +table.table + table-layout: fixed + // add {WORD JOINER} (equivalent to deprecated ZERO WIDTH NO-BREAK SPACE) at // the beginning of paragraphs so they don't "disappear" after saving when // used solely for spacing.