mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🎨 style: update layout for news index page buttons for better alignment and spacing.
This commit is contained in:
@@ -204,20 +204,21 @@ $deleteNow = function($id) {
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="shrink-0">
|
||||
</div>
|
||||
<div class="mt-2 flex justify-end w-full space-x-2">
|
||||
<x-button
|
||||
xs
|
||||
target="_blank"
|
||||
:href="$post->getFirstMediaUrl('pdf')"
|
||||
label="Öffnen"
|
||||
primary icon="cloud-arrow-down"/>
|
||||
@if($canEdit)
|
||||
<x-button
|
||||
target="_blank"
|
||||
:href="$post->getFirstMediaUrl('pdf')"
|
||||
label="Öffnen"
|
||||
primary icon="cloud-arrow-down"/>
|
||||
@if($canEdit)
|
||||
<x-button
|
||||
xs
|
||||
wire:click="delete({{ $post->id }})"
|
||||
label="Löschen"
|
||||
negative icon="trash"/>
|
||||
@endif
|
||||
</div>
|
||||
xs
|
||||
wire:click="delete({{ $post->id }})"
|
||||
label="Löschen"
|
||||
negative icon="trash"/>
|
||||
@endif
|
||||
</div>
|
||||
</article>
|
||||
@empty
|
||||
|
||||
Reference in New Issue
Block a user