mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
fix logo-image on homepage
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div class="center-content">
|
<div class="center-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<img alt="Bitwarden" class="img-responsive logo-image" />
|
<div class="logo-image"></div>
|
||||||
<p class="lead text-center">{{'loginOrCreateNewAccount' | i18n}}</p>
|
<p class="lead text-center">{{'loginOrCreateNewAccount' | i18n}}</p>
|
||||||
<a class="btn primary block" routerLink="/login"><b>{{'login' | i18n}}</b></a>
|
<a class="btn primary block" routerLink="/login"><b>{{'login' | i18n}}</b></a>
|
||||||
<a class="btn block" routerLink="/register">{{'createAccount' | i18n}}</a>
|
<a class="btn block" routerLink="/register">{{'createAccount' | i18n}}</a>
|
||||||
|
|||||||
@@ -147,7 +147,22 @@ app-vault-icon {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo-image {
|
.logo-image {
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 142px;
|
||||||
|
height: 21px;
|
||||||
|
background-size: 142px 21px;
|
||||||
|
background-repeat: no-repeat;
|
||||||
@include themify($themes) {
|
@include themify($themes) {
|
||||||
content: url('../images/logo-' + themed('logoSuffix') + '@2x.png');
|
background-image: url('../images/logo-' + themed('logoSuffix') + '@2x.png');
|
||||||
|
}
|
||||||
|
@media (min-width: 219px) {
|
||||||
|
width: 189px;
|
||||||
|
height: 28px;
|
||||||
|
background-size: 189px 28px;
|
||||||
|
}
|
||||||
|
@media (min-width: 314px) {
|
||||||
|
width: 284px;
|
||||||
|
height: 43px;
|
||||||
|
background-size: 284px 43px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user