Add margin-bottom to content divs

This commit is contained in:
Will Faught
2022-11-17 13:19:53 -08:00
parent d9274b65cb
commit f8a8ff1c0d
2 changed files with 6 additions and 1 deletions

View File

@@ -29,6 +29,11 @@
{{ if templates.Exists "partials/head.html" }} {{ if templates.Exists "partials/head.html" }}
{{ partial "head" . }} {{ partial "head" . }}
{{ end }} {{ end }}
<style>
#content div {
margin-bottom: 1rem;
}
</style>
</head> </head>
<body class="d-flex flex-column"> <body class="d-flex flex-column">
<div class="container flex-fill"> <div class="container flex-fill">

View File

@@ -32,7 +32,7 @@
{{ end }} {{ end }}
{{ if .Content }} {{ if .Content }}
<div class="justify-content-center row"> <div class="justify-content-center row">
<div class="col col-auto"> <div class="col col-auto" id="content">
<div style="max-width:66ch"> <div style="max-width:66ch">
{{ .Content }} {{ .Content }}
</div> </div>