Make upcoming nws scrollable on y-overflow

This commit is contained in:
imperosol 2025-02-16 17:20:45 +01:00
parent 1d177412c3
commit fc3b82c35c
2 changed files with 65 additions and 56 deletions

View File

@ -51,6 +51,13 @@
} }
} }
/* UPCOMING EVENTS */
#upcoming-events {
max-height: 600px;
overflow-y: scroll;
}
/* LINKS/BIRTHDAYS */ /* LINKS/BIRTHDAYS */
#links, #links,
#birthdays { #birthdays {

View File

@ -37,6 +37,7 @@
</a> </a>
<br> <br>
{% endif %} {% endif %}
<section id="upcoming-events">
{% for day, dates_group in news_dates %} {% for day, dates_group in news_dates %}
<div class="news_events_group"> <div class="news_events_group">
<div class="news_events_group_date"> <div class="news_events_group_date">
@ -100,6 +101,7 @@
<em>{% trans %}Nothing to come...{% endtrans %}</em> <em>{% trans %}Nothing to come...{% endtrans %}</em>
</div> </div>
{% endfor %} {% endfor %}
</section>
<h3> <h3>
{% trans %}All coming events{% endtrans %} {% trans %}All coming events{% endtrans %}