From 9c9837df815bd892ab5ee7eff70ef687e1002997 Mon Sep 17 00:00:00 2001 From: VladImpaler Date: Sat, 22 Apr 2023 09:42:32 -0600 Subject: [PATCH] Fixed issue with div on blog section --- themes/droda/assets/css/main.css | 8 ++++---- themes/droda/layouts/_default/single.html | 4 ++-- themes/droda/layouts/about/single.html | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/themes/droda/assets/css/main.css b/themes/droda/assets/css/main.css index 021b173..7123971 100644 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@ -269,20 +269,20 @@ main div > article span { display: block; } -.content table { +main span table { padding-top: 2rem; margin: 0 auto; } -.content table img { +main span table img { width: 3rem; } -.content table td { +main span table td { padding: 0 0.3rem; } -.content .highlight code { +main span .highlight code { white-space: pre-wrap; overflow-x: auto; } diff --git a/themes/droda/layouts/_default/single.html b/themes/droda/layouts/_default/single.html index 1f8fe01..09b8446 100644 --- a/themes/droda/layouts/_default/single.html +++ b/themes/droda/layouts/_default/single.html @@ -3,8 +3,8 @@

{{ .Title }}


-
+ {{ .Content }} -
+
{{ end }} diff --git a/themes/droda/layouts/about/single.html b/themes/droda/layouts/about/single.html index ff4ba40..3b38d09 100644 --- a/themes/droda/layouts/about/single.html +++ b/themes/droda/layouts/about/single.html @@ -2,8 +2,8 @@ {{ "" | safeHTML }}

{{ .Title }}

-
+ {{ .Content }} -
+
{{ end }} -- 2.25.1