Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #319 from LiskHQ/login-page-title
Browse files Browse the repository at this point in the history
Remove login page title
  • Loading branch information
slaweet authored Jun 7, 2017
2 parents 915f645 + bf95633 commit 2e441b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions src/components/login/login.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ login {
.random-input {
margin: 0 0 25px 0;
}

md-card {
padding-top: 40px;
}
}
3 changes: 0 additions & 3 deletions src/components/login/login.pug
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 0 additions & 5 deletions test/components/login/login.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2e441b6

Please sign in to comment.