How to change the default spacing in Guide?
回答済みIs it just me or does any one else find the guide default spacing in sections and the articles is ugly? How to change this?
-
Maybe a bit late, but in your article_page.hbs you could add a class around the {{article_body}} helper to target it:
<div class="article_body">
{{article_body}}
</div>
And then in your style.css file, you could add this:
.article_body p {
line-height: 2rem;
}
or whatever line-height value will increase the spacing to your liking.
If you're talking about spacing between paragraphs and the like, change line-height to padding:
.article_body p {
padding: 24px 0;
}
It would likely require some tweaking of course. You'd possibly have to add in additional tags based on other content you use (lists, headers, etc), but its a start.
-
Thanks for sharing your solution, Dylan!
サインインしてコメントを残してください。
2 コメント