1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-25 10:26:00 +02:00

[bug] Remove scroll from login screen (#1283)

This commit is contained in:
Addison Beck 2022-02-02 10:32:06 -05:00 committed by GitHub
parent cad6e9481f
commit 03eed41d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 114 additions and 106 deletions

View File

@ -1,4 +1,5 @@
<div class="login-header"> <div id="login-page">
<div class="login-header">
<a <a
href="#" href="#"
appStopClick appStopClick
@ -9,14 +10,14 @@
<i class="bwi bwi-cog bwi-lg" aria-hidden="true"></i> <i class="bwi bwi-cog bwi-lg" aria-hidden="true"></i>
{{ "settings" | i18n }} {{ "settings" | i18n }}
</a> </a>
</div> </div>
<form <form
id="login-page" id="login-page"
#form #form
(ngSubmit)="submit()" (ngSubmit)="submit()"
[appApiAction]="formPromise" [appApiAction]="formPromise"
attr.aria-hidden="{{ showingModal }}" attr.aria-hidden="{{ showingModal }}"
> >
<div id="content" class="content"> <div id="content" class="content">
<img class="logo-image" alt="Bitwarden" /> <img class="logo-image" alt="Bitwarden" />
<p class="lead">{{ "loginOrCreateNewAccount" | i18n }}</p> <p class="lead">{{ "loginOrCreateNewAccount" | i18n }}</p>
@ -92,5 +93,6 @@
<a routerLink="/hint">{{ "getMasterPasswordHint" | i18n }}</a> <a routerLink="/hint">{{ "getMasterPasswordHint" | i18n }}</a>
</div> </div>
</div> </div>
</form> </form>
</div>
<ng-template #environment></ng-template> <ng-template #environment></ng-template>

View File

@ -139,28 +139,6 @@
} }
} }
.login-header {
padding: 1em;
font-size: 1.2em;
.environment-urls-settings-icon {
@include themify($themes) {
color: themed("mutedColor");
}
span {
visibility: hidden;
}
&:hover,
&:focus {
text-decoration: none;
@include themify($themes) {
color: themed("primaryColor");
}
}
}
}
#sso-page { #sso-page {
.content { .content {
width: 300px; width: 300px;
@ -237,3 +215,31 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
} }
#login-page {
flex-direction: column;
.login-header {
align-self: flex-start;
padding: 1em;
font-size: 1.2em;
.environment-urls-settings-icon {
@include themify($themes) {
color: themed("mutedColor");
}
span {
visibility: hidden;
}
&:hover,
&:focus {
text-decoration: none;
@include themify($themes) {
color: themed("primaryColor");
}
}
}
}
}