Skip to content

Commit

Permalink
Remove CSS rules causing linebreaks on markdown content
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz F. A. de Prá committed Jan 28, 2025
1 parent 1147e04 commit b2eea1a
Show file tree
Hide file tree
Showing 12 changed files with 12,349 additions and 7 deletions.
5 changes: 0 additions & 5 deletions assets/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ a {

p {
margin: 2rem 0 2rem 0;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
@media only screen and (max-width: 768px) {
margin: 1.5rem 0 1.5rem 0;
}
Expand Down
1 change: 1 addition & 0 deletions exampleSite/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pagerSize = 6
[markup]
[markup.highlight]
noClasses = false

[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
Expand Down
Loading

0 comments on commit b2eea1a

Please sign in to comment.