Accessibility: Increase spacing for easier touch

This commit is contained in:
Nicolas Lorin 2023-03-06 23:03:49 +01:00
parent 80159c6974
commit f5b435909e
No known key found for this signature in database
GPG key ID: BDE9D4146DB38124
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@
<div class="flex flex-wrap">
{{ range $links := . }}
{{ range $name, $url := $links }}
<a class="px-1 hover:text-primary-400 text-primary-800 dark:text-primary-200" href="{{ $url }}" target="_blank"
<a class="px-2 hover:text-primary-400 text-primary-800 dark:text-primary-200" href="{{ $url }}" target="_blank"
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial
"icon.html" $name }}</a>
{{ end }}

View file

@ -36,7 +36,7 @@
<div class="flex flex-wrap">
{{ range $links := . }}
{{ range $name, $url := $links }}
<a class="px-1 hover:text-primary-400 text-primary-300" href="{{ $url }}" target="_blank"
<a class="px-2 hover:text-primary-400 text-primary-300" href="{{ $url }}" target="_blank"
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial
"icon.html" $name }}</a>
{{ end }}
@ -52,4 +52,4 @@
</article>
<section>
{{ partial "recent-articles/main.html" . }}
</section>
</section>