Merge pull request #152 from evalica/151

Issue #151: Spacing between "Log-in" and "Register" buttons
This commit is contained in:
ansuz 2017-07-07 17:16:56 +02:00 committed by GitHub
commit 8f32809d99
2 changed files with 3 additions and 3 deletions

View File

@ -162,7 +162,7 @@ define([
]) ])
]), ]),
h('button.btn.btn-secondary.login.half.first', Msg.login_login), h('button.btn.btn-secondary.login.half.first', Msg.login_login),
h('button.btn.btn-success.register.half.first', Msg.login_register), h('button.btn.btn-success.register.half', Msg.login_register),
h('p.separator', Msg.login_orNoLogin), h('p.separator', Msg.login_orNoLogin),
h('p#buttons.buttons'), h('p#buttons.buttons'),
h('p.driveLink', [ h('p.driveLink', [
@ -363,7 +363,7 @@ define([
h('button.btn.btn-primary.login.first', Msg.login_login), h('button.btn.btn-primary.login.first', Msg.login_login),
h('div.extra', [ h('div.extra', [
h('p', Msg.login_notRegistered), h('p', Msg.login_notRegistered),
h('button#register.btn.btn-success.register.first', Msg.login_register) h('button#register.btn.btn-success.register', Msg.login_register)
]) ])
]) ])
]) ])

View File

@ -428,7 +428,7 @@ noscript {
width: 100%; width: 100%;
cursor: pointer; cursor: pointer;
&.half { &.half {
width: ~"calc(50% - 2px)"; width: ~"calc(50% - 10px)";
&:not(.first) { &:not(.first) {
float: right; float: right;
} }