From 8254d8f5ccb0415e47090d37e06c1fe202dd319b Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 22 Nov 2021 15:09:40 +0100 Subject: [PATCH] Day-Calendar: improve width of row-names (#2341) --- src/pretix/static/pretixpresale/scss/_calendar.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/scss/_calendar.scss b/src/pretix/static/pretixpresale/scss/_calendar.scss index b082a4e53d..324be35af5 100644 --- a/src/pretix/static/pretixpresale/scss/_calendar.scss +++ b/src/pretix/static/pretixpresale/scss/_calendar.scss @@ -203,8 +203,11 @@ margin: 0; padding: 3px 8px 3px 0; background-color: rgba(255,255,255,.9); - white-space: nowrap; z-index: 10; + width: 20vw;/* % in a grid context scales to the width of this element in grid => vw with max-width */ + max-width: 15em; + min-width: 8em; + overflow-wrap: break-word; } .day-calendar a.event {