From 14717faaaa57edb6808686f937156163cb807142 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Tue, 29 Jan 2013 19:54:25 -0800 Subject: [PATCH] Issue #1864466 follow-up by echoz: More optimal styling. --- core/modules/user/user.css | 10 +++------- core/themes/seven/style.css | 8 -------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/core/modules/user/user.css b/core/modules/user/user.css index ae46dbc6525d..2c8812163909 100644 --- a/core/modules/user/user.css +++ b/core/modules/user/user.css @@ -67,8 +67,9 @@ div.password-suggestions ul { * Password strength indicator on narrow viewport. */ @media screen and (max-width: 600px) { - .password-strength { - margin-top: 0; + .password-strength, + div.password-confirm { + float: none; width: auto; } .password-indicator { @@ -79,17 +80,12 @@ div.password-suggestions ul { margin-bottom: 0; width: 100%; } - div.password-confirm { - margin-top: 0; - width: auto; - } div.form-item div.password-suggestions { width: auto; } .confirm-parent, .password-parent { clear: none; - margin: 0; width: 100%; } } diff --git a/core/themes/seven/style.css b/core/themes/seven/style.css index a71a8ffd8541..376c1308053e 100644 --- a/core/themes/seven/style.css +++ b/core/themes/seven/style.css @@ -816,14 +816,6 @@ select.form-select:focus { float: none; padding: 0; } - div.password-confirm, - .password-strength { - float: none; - } - .confirm-parent, - .password-parent { - width: 100%; - } } /* Exceptions */ -- GitLab