6
0
Fork 0

prevent non filles side from reaching anchor

master
Dirk Heilig 2024-02-12 19:27:59 +01:00
parent 1f08fb74b0
commit 750388e67c
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div class="side-calendar">
<h2>Termine</h2>
<ul id="calendar">
<ul id="calendar" class="loading">
<br>
<a href="https://cloud.c3re.de/apps/calendar/p/RLKKkdjNYgXH8yEz/dayGridMonth/now">Zum Kalender</a>
<br>

View File

@ -212,6 +212,10 @@ a.external:after {
margin-bottom: 0;
}
#calendar.loading{
height: 100em;
}
#calendar .row {
display: block;
}

View File

@ -13,6 +13,8 @@ document.addEventListener("DOMContentLoaded", function () {
let cal = JSON.parse(xmlHttp.responseText);
let $ = jQuery;
let box = $("#calendar");
box.removeClass("loading");
for (let item of cal) {
let li = $("<li/>");
//li.text(item.summary)