mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 15:24:14 +00:00
Center web app on larger windows sizes (#2021)
* center web app for larger screen sizes * move center app to components.scss * center app on larger window sizes * center .columns-area
This commit is contained in:
parent
e12bb39c20
commit
2e47fe3e1a
|
@ -1189,6 +1189,7 @@ a.status__content__spoiler-link {
|
||||||
@media screen and (min-width: 1025px) {
|
@media screen and (min-width: 1025px) {
|
||||||
.columns-area {
|
.columns-area {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.column, .drawer {
|
.column, .drawer {
|
||||||
|
@ -1214,16 +1215,12 @@ a.status__content__spoiler-link {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 2560px) {
|
@media screen and (min-width: 1900px) {
|
||||||
.columns-area {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.column, .drawer {
|
.column, .drawer {
|
||||||
width: 350px;
|
width: 400px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
height: 90vh;
|
height: 96vh;
|
||||||
margin-top: 5vh;
|
margin-top: 2vh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue