diff options
author | Mario <mario@mariovavti.com> | 2022-08-19 14:34:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-08-19 14:34:09 +0000 |
commit | b1550f79228c230d86dad5e168a8498b3483d14e (patch) | |
tree | da1e3d779ec6e6b90901aec441c1c9f612cbb424 /view/tpl/notifications_widget.tpl | |
parent | 2d07c3e45dbecffde0ea44e6494282902173be5b (diff) | |
download | volse-hubzilla-b1550f79228c230d86dad5e168a8498b3483d14e.tar.gz volse-hubzilla-b1550f79228c230d86dad5e168a8498b3483d14e.tar.bz2 volse-hubzilla-b1550f79228c230d86dad5e168a8498b3483d14e.zip |
more css fixes
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index fcadf71e5..21a1067ef 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -542,13 +542,13 @@ </div> <div id="notifications" class="border border-top-0 rounded navbar-nav collapse"> {{foreach $notifications as $notification}} - <div class="border border-start-0 border-end-0 border-bottom-0 list-group list-group-flush collapse {{$notification.type}}-button"> + <div class="{{if $notification@first}}rounded-top {{/if}}{{if $notification@last}}rounded-bottom {{/if}}border border-start-0 border-end-0 border-bottom-0 list-group list-group-flush collapse {{$notification.type}}-button"> <a id="notification-link-{{$notification.type}}" class="collapsed list-group-item fakelink notification-link" href="#" title="{{$notification.title}}" data-bs-target="#nav-{{$notification.type}}-sub" data-bs-toggle="collapse" data-sse_type="{{$notification.type}}"> <i class="fa fa-fw fa-{{$notification.icon}}"></i> {{$notification.label}} <span class="float-end badge bg-{{$notification.severity}} {{$notification.type}}-update"></span> </a> </div> - <div id="nav-{{$notification.type}}-sub" class="border border-start-0 border-end-0 border-bottom-0 list-group list-group-flush collapse notification-content" data-bs-parent="#notifications" data-sse_type="{{$notification.type}}"> + <div id="nav-{{$notification.type}}-sub" class="{{if $notification@last}}rounded-bottom {{/if}}border border-start-0 border-end-0 border-bottom-0 list-group list-group-flush collapse notification-content" data-bs-parent="#notifications" data-sse_type="{{$notification.type}}"> {{if $notification.viewall}} <a class="list-group-item text-decoration-none text-dark" id="nav-{{$notification.type}}-see-all" href="{{$notification.viewall.url}}"> <i class="fa fa-fw fa-external-link"></i> {{$notification.viewall.label}} |