summaryrefslogtreecommitdiff
path: root/addons/website_event/static/src
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-08-07 14:37:34 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-13 06:30:33 +0000
commit112c87d8cdd8cb7c32470ae177827d71a46aa192 (patch)
treeaa151415b71f3ac9e6b55ac9a2c1eae90b257a98 /addons/website_event/static/src
parent661d823105d416bcfa6db40ca88ec09cba03b234 (diff)
[FIX] website_event(_sale): fix registration with a single ticket and long name
When having long ticket name, you have some issues in mono-ticket registration mode. Indeed as space is somehow limited, the "Qty <select>" part takes two lines, which is quite ugly. In this commit we ensure the Qty selector always takes one single line. We also ensure long ticket name takes several lines and are displayed completely. We also fix borders of optional price, so that a multi-line ticket name does not generate borders with different size left and right of price. Related to testing of EventOnline Task ID-2314778 Fwd port of PR #55625 PR #55642
Diffstat (limited to 'addons/website_event/static/src')
-rw-r--r--addons/website_event/static/src/scss/website_event.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/website_event/static/src/scss/website_event.scss b/addons/website_event/static/src/scss/website_event.scss
index 5600f4c5670..1b06d02d7ad 100644
--- a/addons/website_event/static/src/scss/website_event.scss
+++ b/addons/website_event/static/src/scss/website_event.scss
@@ -177,6 +177,12 @@
}
}
+ .o_wevent_registration_single {
+ .o_wevent_nowrap {
+ white-space: nowrap;
+ }
+ }
+
.o_wevent_registration_btn {
flex: 0 0 100%;