From ee0e560785e64f9ff47590294fa7c6063ae491ed Mon Sep 17 00:00:00 2001 From: ArtOfCode- <hello@artofcode.co.uk> Date: Wed, 1 Jul 2020 12:19:56 +0100 Subject: [PATCH] Tweaks --- app/assets/stylesheets/application.scss | 4 ++++ app/views/posts/_expanded.html.erb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 71bfb572a..00ad3ea41 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -16,6 +16,10 @@ @import 'variables'; +h1, h2, h3, h4, h5, h6 { + font-family: $font-stack-display; +} + h1 { font-size: 1.7em; } diff --git a/app/views/posts/_expanded.html.erb b/app/views/posts/_expanded.html.erb index 2a2953333..fb4601293 100644 --- a/app/views/posts/_expanded.html.erb +++ b/app/views/posts/_expanded.html.erb @@ -24,10 +24,10 @@ <path d="M50,0 L100,50 L0,50 Z" fill="currentColor" /> </svg> </button> - <div class="score has-font-size-subheading has-font-weight-medium js-upvote-count"> + <div class="score has-font-size-subheading js-upvote-count"> +<%= post.upvote_count %> </div> - <div class="score has-font-size-subheading has-font-weight-medium js-downvote-count"> + <div class="score has-font-size-subheading js-downvote-count"> −<%= post.downvote_count %> </div> <button class="vote-button button is-icon-only-button <%= (existing_vote&.vote_type == -1) ? 'is-active' : '' %>" -- GitLab