From f8101e9da927c9648a7b073c77e3faf66ab00f33 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Fri, 3 Apr 2020 15:31:53 -0400 Subject: [PATCH] [deploy] Fix various small style issues (#7075) --- app/assets/stylesheets/base/reset.scss | 2 +- app/assets/stylesheets/chat.scss | 7 ++++--- app/assets/stylesheets/comments.scss | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/base/reset.scss b/app/assets/stylesheets/base/reset.scss index f6d91be7c..6cbbcca8b 100644 --- a/app/assets/stylesheets/base/reset.scss +++ b/app/assets/stylesheets/base/reset.scss @@ -46,7 +46,7 @@ dd { // Set core body defaults body { - min-height: 100vh; + min-height: calc(100vh - $header-height); scroll-behavior: smooth; text-rendering: optimizeSpeed; line-height: 1.5; diff --git a/app/assets/stylesheets/chat.scss b/app/assets/stylesheets/chat.scss index 716c5fc6c..da4cae04f 100644 --- a/app/assets/stylesheets/chat.scss +++ b/app/assets/stylesheets/chat.scss @@ -3,7 +3,7 @@ // High level classes .chat-page-wrapper { - margin: 24px auto 0px; + margin: 10px auto 0px; width: 96%; max-width: calc(1540px + 10vw); } @@ -1125,8 +1125,9 @@ padding-top: 42%; } h1 { - margin-top: 15px; + margin-top: 8px; padding: 0px calc(10px + 0.2vw); + line-height: 1.1em; img { height: 1.2em; width: 1.2em; @@ -1139,7 +1140,7 @@ } } h4 { - margin-top: -12px; + margin-top: 12px; margin-bottom: 15px; color: var(--card-color-tertiary); font-weight: 500; diff --git a/app/assets/stylesheets/comments.scss b/app/assets/stylesheets/comments.scss index 5fdb5e174..8be98f95b 100644 --- a/app/assets/stylesheets/comments.scss +++ b/app/assets/stylesheets/comments.scss @@ -1038,6 +1038,7 @@ a.header-link { position: relative; width: calc(100% + 60px); margin-left: -58px; + font-family: $helvetica; &.submitting { input[type='submit'] { background: $bold-blue;