mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 18:45:41 +01:00
fix(scrolling): Center for large screen w/o breaking horiz scroll (#2682)
This commit is contained in:
parent
33b9e8d461
commit
11b706acdf
1 changed files with 7 additions and 1 deletions
|
@ -1202,7 +1202,6 @@ a.status__content__spoiler-link {
|
|||
@media screen and (min-width: 1025px) {
|
||||
.columns-area {
|
||||
padding: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.column, .drawer {
|
||||
|
@ -1228,6 +1227,13 @@ a.status__content__spoiler-link {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1397px) { /* Width of 4 columns with margins */
|
||||
.columns-area {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1900px) {
|
||||
.column, .drawer {
|
||||
width: 400px;
|
||||
|
|
Loading…
Reference in a new issue