mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
Fixed Shlink logo not being vertically aligned in welcome screen
This commit is contained in:
parent
4f03ab18e5
commit
2ad2d69b2b
2 changed files with 12 additions and 2 deletions
|
@ -12,8 +12,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home__logo-wrapper {
|
||||||
|
padding: 1.5rem !important;
|
||||||
|
height: 100% !important;
|
||||||
|
min-height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
.home__logo {
|
.home__logo {
|
||||||
@include vertical-align();
|
@include vertical-align();
|
||||||
|
|
||||||
|
width: calc(100% - 3rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.home__main-card {
|
.home__main-card {
|
||||||
|
|
|
@ -30,10 +30,12 @@ const Home = ({ servers, history }: HomeProps) => {
|
||||||
<Card className="home__main-card">
|
<Card className="home__main-card">
|
||||||
<Row noGutters>
|
<Row noGutters>
|
||||||
<div className="col-md-5 d-none d-md-block">
|
<div className="col-md-5 d-none d-md-block">
|
||||||
<div className="p-4">
|
<div className="home__logo-wrapper">
|
||||||
|
<div className="home__logo">
|
||||||
<ShlinkLogo />
|
<ShlinkLogo />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div className="col-md-7 home__servers-container">
|
<div className="col-md-7 home__servers-container">
|
||||||
<div className="p-4">
|
<div className="p-4">
|
||||||
<h1 className="home__title">Welcome!</h1>
|
<h1 className="home__title">Welcome!</h1>
|
||||||
|
|
Loading…
Reference in a new issue