diff --git a/src/plainui/jinja2/plainui/components/calendar.html b/src/plainui/jinja2/plainui/components/calendar.html index 36576575e67f1f582c94ef7d853011934b0f98c6..a2e1127907ae19764e9a922fe4fbbb3012fe91c1 100644 --- a/src/plainui/jinja2/plainui/components/calendar.html +++ b/src/plainui/jinja2/plainui/components/calendar.html @@ -17,10 +17,10 @@ {% for room, room_events in events.rooms_with_events %} <div class="hub-fahrplan__room"> {% if public %} - <h2 class="hub-fahrplan__title">// {{room.name}}</h2> + <h2 class="hub-fahrplan__title" title="{{ room.name }}">// {{room.name}}</h2> {% else %} <a class="text-decoration-none a" href="{{ url('plainui:room', room_slug=room.slug) }}"> - <h2 class="hub-fahrplan__title">// {{room.name}}</h2> + <h2 class="hub-fahrplan__title" title="{{ room.name }}">// {{room.name}}</h2> </a> {% endif %} {% for entry in room_events %} diff --git a/src/plainui/styles/sections/_fahrplan.scss b/src/plainui/styles/sections/_fahrplan.scss index 02d1b8675c7bf0da680c928ef02ee1c6d74b04b4..fa93657dd92e3e481f76b6651abd546f8ce679f1 100644 --- a/src/plainui/styles/sections/_fahrplan.scss +++ b/src/plainui/styles/sections/_fahrplan.scss @@ -17,6 +17,9 @@ $public-fahrplan-body-padding: .7rem; font-family: "Beon"; font-size: 2.1875rem; // 35px line-height: 1; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; .active { color: $secondary;