From 085f5f9b22dbdd54b2a6df1ee94da097f21182f1 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 6 Jun 2017 15:40:33 +0100 Subject: [PATCH] Stick H1 at top of page on conversation view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit You’ll quite often be landing half way down this page. So the context afforded by being able to see the phone number gives you some reassurance that you’ve landed in the right place. --- app/assets/stylesheets/components/sms-message.scss | 4 ++-- app/templates/views/conversations/conversation.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/components/sms-message.scss b/app/assets/stylesheets/components/sms-message.scss index 0f3b5e0ab..26c942e8c 100644 --- a/app/assets/stylesheets/components/sms-message.scss +++ b/app/assets/stylesheets/components/sms-message.scss @@ -68,8 +68,8 @@ $tail-angle: 20deg; &:focus { outline: none; - padding-top: 20px; - margin-top: -20px; + padding-top: 120px; + margin-top: -120px; } } diff --git a/app/templates/views/conversations/conversation.html b/app/templates/views/conversations/conversation.html index f18fcc417..cd181bd37 100644 --- a/app/templates/views/conversations/conversation.html +++ b/app/templates/views/conversations/conversation.html @@ -8,9 +8,9 @@
-
+

- 07900 900 123 + {{ user_number }}

{% for message in conversation %}