From baf635c06e736429a35c6c311221f89a6d975b87 Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 13 Jun 2017 07:25:10 +0530 Subject: [PATCH] UX: better accept invite page on mobile --- app/assets/stylesheets/common/base/login.scss | 5 ++++- app/assets/stylesheets/desktop/login.scss | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss index 07ee2d93129..01b2f825100 100644 --- a/app/assets/stylesheets/common/base/login.scss +++ b/app/assets/stylesheets/common/base/login.scss @@ -91,9 +91,12 @@ $input-width: 220px; button.btn-primary { margin-top: 10px; } - label { + label:not(.checkbox-label) { font-weight: bold; } + .controls, .input { + margin-bottom: 10px; + } .instructions { color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); margin: 0; diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss index 5294cc23532..a99bf50c0fa 100644 --- a/app/assets/stylesheets/desktop/login.scss +++ b/app/assets/stylesheets/desktop/login.scss @@ -99,11 +99,10 @@ form { .controls, .input { margin-left: 20px; - margin-bottom: 10px; - }, + } input, label { margin-bottom: 0; - }, + } .user-field .control-label:not(.checkbox-label) { margin-left: 20px; }