From bf5ef3aec37b05fe1e8817867fcff46717a0c062 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Sat, 11 Oct 2014 05:08:25 -0700 Subject: [PATCH] minor mobile editor tweaks --- app/assets/stylesheets/mobile/compose.scss | 11 +++++------ app/assets/stylesheets/mobile/topic-post.scss | 7 ------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss index 367e74521f6..8ec5313d30c 100644 --- a/app/assets/stylesheets/mobile/compose.scss +++ b/app/assets/stylesheets/mobile/compose.scss @@ -16,9 +16,8 @@ display: none; #reply-control { .composer-bottom-right { position: absolute; - bottom: -37px; - right: 5px; - margin-top: 0; + bottom: -47px; + right: -5px; } .toggle-preview { display:none; } .mobile-file-upload { @@ -138,7 +137,7 @@ display: none; } } .contents { - padding: 10px 10px 0 10px; + padding: 8px 5px 0 5px; .form-element { .select2-container { width: 99%; @@ -222,7 +221,7 @@ display: none; right: 10px; position: absolute; top: 40px; - bottom: 54px; + bottom: 64px; display: block; @@ -234,12 +233,12 @@ display: none; margin: 0; background-color: $secondary; word-wrap: break-word; + box-sizing: border-box; } #wmd-input { position: absolute; left: 0; top: 0; - font-size: 16px; } .textarea-wrapper { position: relative; diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index a587fe4f3df..764189bb198 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -419,19 +419,12 @@ background-color: scale-color($danger, $lightness: 75%); border-right: 0; padding-right: 4px; padding-left: 5px; - border-radius: 4px 0 0 4px; } .deleted-user-avatar { font-size: 36px; } -.staff a { - border-radius: 4px; - padding: 4px; - margin: -4px 0 0 -4px; -} - span.btn-text {display: none;} blockquote {