From 6fc292fef5afc4eee07589a5e1e17c4b9dacf3c0 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 25 May 2018 17:33:45 -0400 Subject: [PATCH] reducing some specificty --- app/assets/stylesheets/common/base/login.scss | 3 +++ app/assets/stylesheets/desktop/login.scss | 25 ++++++++++--------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/common/base/login.scss b/app/assets/stylesheets/common/base/login.scss index f11a157c7a2..634be86822c 100644 --- a/app/assets/stylesheets/common/base/login.scss +++ b/app/assets/stylesheets/common/base/login.scss @@ -139,6 +139,9 @@ $input-width: 220px; } .modal tr.instructions { + display: flex; + flex-direction: column; + margin-top: 0.15em; label { color: dark-light-choose($primary-medium, $secondary-medium); } diff --git a/app/assets/stylesheets/desktop/login.scss b/app/assets/stylesheets/desktop/login.scss index 4ed62ea3ea2..7460ebe0850 100644 --- a/app/assets/stylesheets/desktop/login.scss +++ b/app/assets/stylesheets/desktop/login.scss @@ -114,18 +114,6 @@ } } - .tip { - &:not(:empty) + td { - display: none; - } - - &:not(:empty), - &:empty + td { - min-height: 1.75em; - width: 240px; - } - } - .invites-show { padding-top: 20px; @@ -192,3 +180,16 @@ padding-top: 20px; } } + +.login-form { + .tip { + &:not(:empty) + td { + display: none; + } + &:not(:empty), + &:empty + td { + min-height: 1.75em; + width: 240px; + } + } +} \ No newline at end of file