compromise to some browsers

This commit is contained in:
mivinci 2021-08-27 15:02:08 +08:00
parent 2a030d1f9b
commit 83a4994368
2 changed files with 6 additions and 2 deletions

View file

@ -75,6 +75,10 @@
margin-left: 2em; margin-left: 2em;
} }
.mr-1 {
margin-right: 1rem;
}
.mr-2 { .mr-2 {
margin-right: 2em; margin-right: 2em;
} }

View file

@ -3,9 +3,9 @@
<div id="theme-switcher" class="btn lg-1"></div> <div id="theme-switcher" class="btn lg-1"></div>
{{ .Site.Title }} {{ .Site.Title }}
</h1> </h1>
<nav class="row gap-1"> <nav class="row">
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a> <a class="mr-1" href="{{ .URL }}">{{ .Name }}</a>
{{ end }} {{ end }}
</nav> </nav>
<hr> <hr>