From 065c155f8175bb9cfecad6c1157335a1a6204937 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 15 Dec 2017 11:29:15 -0500 Subject: [PATCH] UX: Increasing line-height for headlines in all post content --- app/assets/stylesheets/common/base/topic-post.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index d4cd1a2512b..6151d863399 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -46,8 +46,11 @@ // global styles for the cooked HTML content in posts (and preview) .cooked, .d-editor-preview { word-wrap: break-word; - h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; } - h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */ + h1, h2, h3, h4, h5, h6 { + margin: 30px 0 10px; + line-height: 1.25; + } + a { word-wrap: break-word; } ins { background-color: dark-light-choose($success-low, scale-color($success, $lightness: -60%)); } del { background-color: dark-light-choose($danger-low, scale-color($danger, $lightness: -60%)); }