Fix kalender button overlaying with header on hendelser on mobile

This commit is contained in:
Peder Bergebakken Sundt 2018-08-14 22:55:36 +02:00
parent f37919c850
commit 221f61c496

View File

@ -23,10 +23,10 @@ $translation = ['I dag', 'I morgen', 'Denne uka', 'Neste uke', 'Denne måneden',
<?= loginbar($sp, $pdo); ?>
</nav>
<main>
<h2 style="pointer-events:none; text-align: left;">Hendelser</h2>
<div style="text-align: center; margin-top: -2.5em;">
<h1 style="pointer-events:none; text-align: left;">Hendelser</h1>
<center>
<a style="padding-left: 2em; padding-right: 2em;" class="btn" style="" href="../kalender/">Kalender</a>
</div>
</center>
<?php
$description_paragraphs = 2; //description length
foreach($agenda->getNextDays() as $period => $events) {