From aed6cda836409fd4052417b1bcf7bba4e7daefab Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 27 Mar 2014 15:44:46 -0700 Subject: [PATCH] tighten up mobile create topic fields --- app/assets/stylesheets/mobile/compose.scss | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss index db8a0560d5..1f720a8f05 100644 --- a/app/assets/stylesheets/mobile/compose.scss +++ b/app/assets/stylesheets/mobile/compose.scss @@ -16,9 +16,6 @@ display: none; display: none; } - - - .autocomplete { z-index: 999999; position: absolute; @@ -181,24 +178,25 @@ display: none; float: none; } - // When the post is new (new topic) the sizings are different + // if this is a new topic, make room for the category field in the editor on + // a small screen mobile device &.edit-title { &.open { - height: 300px; + height: 280px; } .contents { input#reply-title { padding: 7px 10px; - margin: 6px 10px 3px 0; + margin: 6px 10px 0 0; } .wmd-controls { @include transition(top 0.3s ease); - top: 135px; + top: 120px; } } } .contents { - padding: 10px; + padding: 10px 10px 0 10px; min-width: 1280px; .form-element { .chzn-container {