fix mobile experience for /aktiviteter

This commit is contained in:
2025-08-14 22:17:25 +02:00
parent f3c439d038
commit 602ae1f396
3 changed files with 2 additions and 3 deletions

View File

@@ -55,6 +55,7 @@ $day = (isset($_GET['day']))
<em><?php echo $event->getRelativeDate(); ?></em>
<?php if (Agenda::isToday($event->getStart())) { ?></strong><?php } ?>
<?php if ($event->getURL()) { ?>
<br>
<a href="<?php echo $event->getURL(); ?>"><?php echo $event->getName(); ?></a>
<?php } else { ?>
<?php echo $event->getName(); ?>

View File

@@ -11,7 +11,6 @@ h2 em {
font-size: .5em;
line-height: 2em;
float: left;
margin-right: 1em;
border: .1em solid gray;
padding: 0 1em;
border-radius: .25em;
@@ -107,7 +106,6 @@ p + .subtext {
}
@media screen and (max-width: 50rem) {
h2 {
text-align: center;
position: relative;
border-bottom-left-radius: 0.3em;
border-bottom-right-radius: 0.3em;

View File

@@ -37,7 +37,7 @@ if (!$event) {
<?php if (Agenda::isToday($event->getStart())) { ?><strong><?php } ?>
<em><?php echo $event->getRelativeDate(); ?></em>
<?php if (Agenda::isToday($event->getStart())) { ?></strong><?php } ?>
<br>
<?php echo $event->getName(); ?>
</h2>
<ul class="subtext">