From 8d180dd767a5f69d5f69644d29282b3cf50907f3 Mon Sep 17 00:00:00 2001 From: Jessica Lord & Kevin Sawicki Date: Mon, 12 Aug 2013 15:44:57 -0700 Subject: [PATCH] Set text security on line elements only This ensures the disc does not appear when the field is empty --- src/packages/github-sign-in/stylesheets/github-sign-in.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/packages/github-sign-in/stylesheets/github-sign-in.less b/src/packages/github-sign-in/stylesheets/github-sign-in.less index 661c7c6d6..fffb02612 100644 --- a/src/packages/github-sign-in/stylesheets/github-sign-in.less +++ b/src/packages/github-sign-in/stylesheets/github-sign-in.less @@ -1,6 +1,7 @@ .sign-in-view { width: 350px; margin-left: -175px; + input, button, .alert { margin-bottom: 10px; } @@ -13,7 +14,8 @@ content: 'Sign in failed. '; font-weight: bold; } - .password { + + .password .line span { -webkit-text-security: disc; } }