add an breakpoint at screen width equal to 640px

This commit is contained in:
Mivinci 2023-05-05 10:40:45 +08:00
parent 7c377b588c
commit 61abe783eb
3 changed files with 36 additions and 39 deletions

View file

@ -1,6 +1,6 @@
<footer class="mt-8 mb-8">
<div class="container mx-auto">
<div class="mt-8 flex justify-between items-center">
<div class="mt-8 flex flex-col-reverse sm:flex-row sm:justify-between items-center">
<p class="mt-0 text-sm">
{{ .Site.Copyright }} |
<a href="https://gohugo.io" target="_blank" rel="noopener noreferrer">Hugo</a> on

View file

@ -1,5 +1,5 @@
<div>
<div class="flex justify-between items-start">
<div class="flex flex-col-reverse sm:flex-row sm:justify-between">
{{ if .Page.Params.link }}
<a class="text-lg font-bold" href="{{ .Page.Params.link }}">{{ .Title }}</a>
{{ else }}