From fdbaf8fa30b4c78c758858d788cb800fc5f01d79 Mon Sep 17 00:00:00 2001 From: Timo Breumelhof Date: Thu, 14 Mar 2024 10:47:02 +0100 Subject: [PATCH] Fixes heading alignment of blogs and authours --- Templates/Blog/CommunityBlog/template.css | 17 ++++++++++++++++- _src/theme/scss/modules/_blog.scss | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Templates/Blog/CommunityBlog/template.css b/Templates/Blog/CommunityBlog/template.css index 7cee997..9bc7e9d 100644 --- a/Templates/Blog/CommunityBlog/template.css +++ b/Templates/Blog/CommunityBlog/template.css @@ -108,7 +108,22 @@ .ModBlogC .bbs-listarticle { overflow: hidden; - padding: 20px 0 + padding: 1.2em 0 +} + +.ModBlogC .bbs-listarticle:first-child { + padding-top:0; +} +/* Unless the PB is visible */ + +.personabar-visible .ModBlogC .bbs-listarticle:first-child { + padding-top:1.2em; +} + +.ModBlogC .bbs-listarticle h2 { + + margin-top:0; + } .ModBlogC .bbs-listarticle h2 a, .ModBlogC .bbs-listarticle h2 a:hover, .ModBlogC .bbs-listarticle h2 a:visited { diff --git a/_src/theme/scss/modules/_blog.scss b/_src/theme/scss/modules/_blog.scss index b3eee07..c5dba9d 100644 --- a/_src/theme/scss/modules/_blog.scss +++ b/_src/theme/scss/modules/_blog.scss @@ -55,4 +55,4 @@ padding-bottom: 1.8em; } -} \ No newline at end of file +}