From 0ba7d1109761198be1a645b294e3f37926a9b774 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 10 Apr 2017 09:28:23 +0100 Subject: [PATCH] Fix alignment of edit letter links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not sure how these got out of line (maybe when we brought the date into the left-hand text area). But this commit updates the percentages to match the comments. This is so it’s clear from the position of the link which part of the letter you’re editing. --- app/assets/stylesheets/views/template.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/views/template.scss b/app/assets/stylesheets/views/template.scss index 93ca1aea8..a059504e8 100644 --- a/app/assets/stylesheets/views/template.scss +++ b/app/assets/stylesheets/views/template.scss @@ -30,12 +30,12 @@ .edit-template-link-letter-address { @extend %edit-template-link; - top: 16.5%; // align bottom edge to bottom of address + top: 14.65%; // align bottom edge to bottom of address left: -5px; } .edit-template-link-letter-body { @extend %edit-template-link; - top: 33.3%; // aligns to top of subject + top: 38.5%; // aligns to top of subject left: -5px; }