From 0969bd0f0d0be56d8e5ce0ee4200d799485150ed Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 16 Sep 2015 23:48:15 -0700 Subject: [PATCH] tighten up post spacing on mobile --- app/assets/stylesheets/common/base/topic-post.scss | 2 ++ app/assets/stylesheets/mobile/discourse.scss | 3 +-- app/assets/stylesheets/mobile/topic-post.scss | 5 +---- config/locales/client.en.yml | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index dab4f08f13f..fc57a346c1b 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -237,6 +237,8 @@ blockquote > *:last-child { background-repeat: repeat-x; padding: 20px 0; margin-bottom: 20px; + margin-left: -10px; + margin-right: -10px; } } diff --git a/app/assets/stylesheets/mobile/discourse.scss b/app/assets/stylesheets/mobile/discourse.scss index 4d56b037f17..d88232804a1 100644 --- a/app/assets/stylesheets/mobile/discourse.scss +++ b/app/assets/stylesheets/mobile/discourse.scss @@ -17,9 +17,8 @@ $mobile-wrapper-padding: 10px; body { .boxed { - height: 100%; .contents { - padding: 10px 0; + padding: 10px 0 0 0; } &.white { background-color: $secondary; diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index 8ab66f36393..216826d4b1f 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -16,7 +16,7 @@ .topic-post { border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%); - padding: 6px 0 3px 0; + padding: 6px 0 0 0; } span.badge-posts { @@ -159,10 +159,7 @@ a.star { } .topic-post .boxed .contents { - float: none; - padding-top: 5px; clear: both; - position: relative; } .topic-map { diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 103899efaad..a03b5ee2df1 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -728,7 +728,7 @@ en: sign_up: "Sign Up" hide_session: "Remind me tomorrow" hide_forever: "Never show this again" - hidden_for_session: "OK, I'll ask you tomorrow. You can always click the 'Log In' button to create an account, too." + hidden_for_session: "OK, I'll ask you tomorrow. You can always use 'Log In' to create an account, too." intro: "Hey there! :heart_eyes: Looks like you're enjoying the discussion, but you're not signed up for an account." value_prop: "When you create an account, we can track exactly what you've read, so you always come right back where you left off. You can also get notifications, here and via email, whenever new posts are made. And you can like posts to share the love. :heartbeat:" methods: