add some spacing between event items

This commit is contained in:
Daniel Waxweiler 2024-05-14 10:30:42 +02:00
parent fa99821ffc
commit cccd1a78b5
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
### [Unreleased]
#### Added
#### Changed
- Add some spacing between event items
#### Deprecated
#### Removed
#### Fixed

View File

@ -9,7 +9,7 @@ if (!defined('ABSPATH')) {
<div class="<?php echo esc_attr($classNamePrefix); ?>_events-list">
<ul style="list-style-type: none; padding-left: 0;">
<?php foreach($events as $event) { ?>
<li>
<li style="margin-top: 10px;">
<a href="<?php echo esc_attr($event['url']); ?>"><?php echo esc_html_e($event['title']); ?></a>
<br>
<?php echo esc_html_e(Formatter::format_date($locale, $timeZone, $event['beginsOn'], $event['endsOn'], $isShortOffsetNameShown)); ?>