From e6c8bf78ce3eafaa2a2643be175c39cd57de3d53 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 18 Apr 2026 15:14:29 +0200 Subject: style: resize social share icons to 50px and tighten grid gap --- .../layouts/partials/social-share.html | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'themes/danix-xyz-hacker/layouts/partials/social-share.html') diff --git a/themes/danix-xyz-hacker/layouts/partials/social-share.html b/themes/danix-xyz-hacker/layouts/partials/social-share.html index 6934f4e..d7b6562 100644 --- a/themes/danix-xyz-hacker/layouts/partials/social-share.html +++ b/themes/danix-xyz-hacker/layouts/partials/social-share.html @@ -3,9 +3,9 @@ {{ $url := $page.Permalink | urlquery }} {{ $title := $page.Title | urlquery }} -{{ $gridClass := "grid-cols-2 gap-2" }} +{{ $gridClass := "grid-cols-2 gap-2 justify-items-center" }} {{ if eq $mode "inline" }} - {{ $gridClass = "grid-cols-5 gap-3 justify-items-center" }} + {{ $gridClass = "grid-cols-5 gap-2 justify-items-center" }} {{ end }}
@@ -20,8 +20,8 @@ :aria-label="copied ? '{{ i18n "linkCopied" }}' : '{{ i18n "copyLink" }}'" class="btn-icon hover:text-accent hover:bg-surface transition-colors focus-visible:ring-2 focus-visible:ring-accent" > - - + +
@@ -31,7 +31,7 @@ aria-label="{{ i18n "shareViaEmail" }}" class="btn-icon hover:text-accent hover:bg-surface transition-colors focus-visible:ring-2 focus-visible:ring-accent" > - + @@ -41,7 +41,7 @@ aria-label="{{ i18n "facebook" }}" class="btn-icon hover:text-accent hover:bg-surface transition-colors focus-visible:ring-2 focus-visible:ring-accent" > -