From 46f9b7ace048d765e1aa801c2e1888fbfbab653a Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Tue, 6 Jun 2017 16:36:01 +0200 Subject: [PATCH 1/3] Remove login page title to make it look cleaner --- src/components/login/login.pug | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/login/login.pug b/src/components/login/login.pug index 953c88131..27af6f77a 100644 --- a/src/components/login/login.pug +++ b/src/components/login/login.pug @@ -1,7 +1,4 @@ md-card - md-card-title - md-card-title-text - span.md-title Sign In md-card-content(flex='100', flex-gt-sm='70', flex-offset-gt-sm='15') form(ng-submit='$ctrl.passConfirmSubmit()') md-input-container.md-block From 88dcf22154e9dcca0342b1b99e0c9357a3d68065 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Wed, 7 Jun 2017 09:13:07 +0200 Subject: [PATCH 2/3] Remove login header unit test --- test/components/login/login.spec.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/components/login/login.spec.js b/test/components/login/login.spec.js index 032343a47..501369dcd 100644 --- a/test/components/login/login.spec.js +++ b/test/components/login/login.spec.js @@ -29,11 +29,6 @@ describe('Login component', () => { $rootScope.$digest(); }); - const HEADER_TEXT = 'Sign In'; - it(`should contain header saying "${HEADER_TEXT}"`, () => { - expect(element.find('.md-title').text()).to.equal(HEADER_TEXT); - }); - const PASS_LABEL_TEXT = 'Enter your passphrase'; it(`should contain a form input with label saying "${PASS_LABEL_TEXT}"`, () => { expect(element.find('form md-input-container label.pass').text()).to.equal(PASS_LABEL_TEXT); From 814ee320c75ff6b960deee951892b3e719751d47 Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Wed, 7 Jun 2017 12:18:36 +0200 Subject: [PATCH 3/3] Add more whitespace to the top of login card --- src/components/login/login.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/login/login.less b/src/components/login/login.less index 471636faf..9e98a7cad 100644 --- a/src/components/login/login.less +++ b/src/components/login/login.less @@ -11,4 +11,8 @@ login { .random-input { margin: 0 0 25px 0; } + + md-card { + padding-top: 40px; + } }