summaryrefslogtreecommitdiff
path: root/addons/website_event/static
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-08-17 11:35:54 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-17 16:29:50 +0000
commitbb5fe8cb95925a541c63e93e16e0700c3887c87e (patch)
tree6212418976dbd0878882489ea08bba8585014e0d /addons/website_event/static
parentd6bfd275bbafdc1292982887b33752d089670d77 (diff)
[FIX] website_event: fix event nav display when no menu is defined
When no menu is defined on an event a custom header is displayed instead of menus. It holds a link to "All events", link allowing to filter on event type and address, and a search box. This navigation bar is badly displayed as it takes too much space, and search is on another line. This commit fixes it by displaying everything in a clean one line on desktop and several well ordered lines on mobile. Event type link is now also displayed only if the relevant option has been chosen on the Events main page. Otherwise it makes no sense as types are not displayed by default. LINKS Task ID-2169118 odoo/odoo#55967 odoo/enterprise#12438 X-original-commit: c343647506d775cbe09feba1e14b1205da5426a0
Diffstat (limited to 'addons/website_event/static')
-rw-r--r--addons/website_event/static/src/scss/website_event.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_event/static/src/scss/website_event.scss b/addons/website_event/static/src/scss/website_event.scss
index 1b06d02d7ad..48b2342b806 100644
--- a/addons/website_event/static/src/scss/website_event.scss
+++ b/addons/website_event/static/src/scss/website_event.scss
@@ -151,7 +151,7 @@
// Multi-line event title, even in mobile mode
nav > div > a.navbar-brand {
text-overflow: revert;
- white-space: break-spaces;
+ white-space: normal;
overflow: hidden;
max-width: calc(100% - 80px);
}