diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-26 19:08:25 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-26 19:08:25 +0800 |
| commit | ebc678f2e46292ed55f2186845a33a736b4601ac (patch) | |
| tree | 16ce465980a55a01b141cc7c091c73658bdcd666 /layouts | |
| parent | cfb1c6e642b6ebbc2698d2159439bdb1f6aefd1a (diff) | |
fix(footer): put external and internal links on one line in small screen
Former-commit-id: 1c41d2393568c617b17d3d8a3431b23921a141d4
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_partials/footer.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index cd97572c..e4cfa803 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -1,4 +1,5 @@ <footer class="pagefind-exclude my-8 mx-auto font-mono px-4 + text-sm md:w-[var(--page-width)] md:flex md:justify-between"> <!-- copyright --> <section> @@ -6,7 +7,8 @@ <p class="license">{{ T "footer.licenseStatement" (printf "<a href=\"https://creativecommons.org/licenses/by-sa/4.0/\" target=\"_blank\">CC BY-SA 4.0</a>") | safeHTML }}</p> </section> <!-- links --> - <section class="flex flex-col md:items-end"> + <section class="flex justify-between items-center + md:justify-start md:flex-col md:items-end"> <!-- Internal Links --> <ul class="list-none flex gap-1 ps-0 my-2 mx-0 md:justify-end"> {{ range .Site.Params.footerInternalLinks }} |
