mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-02-01 08:44:59 -05:00
fix announcement mobile spacing
This commit is contained in:
parent
e34d1f12dc
commit
b8ca172ab4
@ -1,6 +1,6 @@
|
||||
{{if .Announcement}}
|
||||
<a target="_blank" href="{{.Announcement.Link}}"
|
||||
class="flex flex-col justify-center items-center p-2 mx-auto space-x-2 max-w-sm rounded-lg border transition duration-200 {{if .Announcement.Warning}}border-yellow-900 hover:border-yellow-700{{else}} hover:border-lime-700 border-lime-900{{end}} bg-black/30">
|
||||
class="flex flex-col justify-center items-center p-2 mx-auto mt-4 space-x-2 max-w-xs rounded-lg border transition duration-200 {{if .Announcement.Warning}}border-yellow-900 hover:border-yellow-700{{else}} hover:border-lime-700 border-lime-900{{end}} bg-black/30">
|
||||
<span class="flex justify-center items-center font-bold">
|
||||
{{if .Announcement.Warning}}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="mr-1.5 text-yellow-600 size-5" width="24" height="24" viewBox="0 0 24 24"
|
||||
|
Loading…
x
Reference in New Issue
Block a user