Skip to content

Commit

Permalink
Merge pull request #148 from Timo-Breumelhof/feature/147
Browse files Browse the repository at this point in the history
Fixes heading alignment of blogs and authours
  • Loading branch information
david-poindexter authored Mar 19, 2024
2 parents e30232e + 44d5ff3 commit 57c3b0f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion Templates/Blog/CommunityBlog/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions _src/theme/scss/modules/_blog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
// Make sure blog details are full width (see https://github.com/DNNCommunity/DNNCommunityTheme/issues/141)
// Depends on the class injected by Style Helper


.blogs-detail {
.panes {
.main-blog-module{

width: 100% !important;

}
}
}
}
}

0 comments on commit 57c3b0f

Please sign in to comment.