refactor(Intro): improve mobile layout

This commit is contained in:
Tim 2022-02-17 10:16:28 +01:00
parent 484e9f51ca
commit 9969d808bc

View file

@ -1,6 +1,7 @@
// Copyright (C) 2017-2020 Smart code 203358507
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
@import (reference) '~stremio/common/screen-sizes.less';
.intro-container {
display: flex;
@ -234,4 +235,16 @@
animation: 1s linear infinite alternate flash;
}
}
}
@media only screen and (max-width: @minimum) {
.intro-container {
justify-content: center;
.form-container {
flex: 0 1 auto;
width: 100%;
padding: 2rem 1.5em;
}
}
}