From 93221e3f53c3414eebddb357eef69afacc5bc180 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 5 Apr 2022 15:47:23 +0200 Subject: [PATCH] small fixes --- themes/buha/assets/css/layout.css | 11 ----------- themes/buha/layouts/index.html | 4 +++- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/themes/buha/assets/css/layout.css b/themes/buha/assets/css/layout.css index 6d6b914c..4968cc89 100644 --- a/themes/buha/assets/css/layout.css +++ b/themes/buha/assets/css/layout.css @@ -8,17 +8,6 @@ background: url(/images/logo_back_full.svg); } -h1 { - margin-top: 1rem; - padding-top: 0; - margin-bottom: 0; - padding-bottom: 0; -} - -main { - margin-top: 2rem; -} - form label { display: inline-block; width: 100px; diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 5bf1eb4c..d2501d74 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -1,5 +1,7 @@ {{ define "title" }} - +{{ if .Content }} +

{{ .Title }}

+{{ end }} {{ end }} {{ define "main" }}