mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-16 08:46:48 +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>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</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
|
<x-button
|
||||||
target="_blank"
|
xs
|
||||||
:href="$post->getFirstMediaUrl('pdf')"
|
wire:click="delete({{ $post->id }})"
|
||||||
label="Öffnen"
|
label="Löschen"
|
||||||
primary icon="cloud-arrow-down"/>
|
negative icon="trash"/>
|
||||||
@if($canEdit)
|
@endif
|
||||||
<x-button
|
|
||||||
xs
|
|
||||||
wire:click="delete({{ $post->id }})"
|
|
||||||
label="Löschen"
|
|
||||||
negative icon="trash"/>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
@empty
|
@empty
|
||||||
|
|||||||
Reference in New Issue
Block a user