Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Chucheng <me@wangchucheng.com>2022-02-10 18:17:51 +0300
committerWANG Chucheng <me@wangchucheng.com>2022-02-10 18:17:51 +0300
commit14f5245838c5f7dcb6c8e257949abd99a3c3796a (patch)
tree551cc24991a0a01ba69d9163982f366de40d35bf /layouts
parentacb3dc575ce5c37bafacfeea886f1ce845b86e21 (diff)
style: improve icon margins in author page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/components/post-author.html2
-rw-r--r--layouts/partials/widgets/about.html6
2 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/components/post-author.html b/layouts/partials/components/post-author.html
index 4ca43ab..bd12508 100644
--- a/layouts/partials/components/post-author.html
+++ b/layouts/partials/components/post-author.html
@@ -26,7 +26,7 @@
{{ $iconPack := .iconPack | default .icon_pack }}
{{/* Deprecation warning(v1.0.0) ends */}}
{{ $src := print $iconPack " fa-" .icon }}
- <a href="{{ .url }}" class="me-1">
+ <a href="{{ .url }}" class="me-2">
<i class="{{ print $src }}"></i>
</a>
{{ end }}
diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html
index 2a786e1..5256fe9 100644
--- a/layouts/partials/widgets/about.html
+++ b/layouts/partials/widgets/about.html
@@ -5,7 +5,7 @@
<img src="{{ . }}" class="rounded-full" alt="Avatar" />
</div>
{{ end }}
- <div class="mt-4 grow md:mt-0">
+ <div class="mt-4 w-full grow md:mt-0">
<h1 class="py-4 text-3xl">{{ .Title }}</h1>
<div class="w-3/12 border-b xl:w-2/12"></div>
@@ -30,7 +30,7 @@
</div>
{{ end }}
</div>
- <div class="ms-8 flex items-end justify-center md:flex-col">
+ <div class="md:ms-8 flex items-end justify-center md:flex-col">
{{ $brand := $.Param "social" }}
{{ range $brand }}
{{/* Deprecation warning(v1.0.0) starts */}}
@@ -40,7 +40,7 @@
{{ $iconPack := .iconPack | default .icon_pack }}
{{/* Deprecation warning(v1.0.0) ends */}}
{{ $src := print $iconPack " fa-" .icon }}
- <div class="pe-4 md:pe-0 pb-2 pt-4 md:pt-0">
+ <div class="mx-2 mb-2 mt-4 md:mx-0 md:mt-2">
<a href="{{ .url }}"><i class="{{ print $src }}"></i></a>
</div>
{{ end }}