From: VladImpaler Date: Sat, 22 Apr 2023 15:42:32 +0000 (-0600) Subject: Fixed issue with div on blog section X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=9c9837df815bd892ab5ee7eff70ef687e1002997;p=salamandradevs.site%2F.git Fixed issue with div on blog section --- 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 }}