Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center web app on larger windows sizes #2021

Merged
merged 4 commits into from
Apr 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 5 additions & 8 deletions app/assets/stylesheets/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ a.status__content__spoiler-link {
@media screen and (min-width: 1025px) {
.columns-area {
padding: 0;
margin: 0 auto;
}

.column, .drawer {
Expand All @@ -891,16 +892,12 @@ a.status__content__spoiler-link {
}
}

@media screen and (min-width: 2560px) {
.columns-area {
justify-content: center;
}

@media screen and (min-width: 1900px) {
.column, .drawer {
width: 350px;
width: 400px;
border-radius: 4px;
height: 90vh;
margin-top: 5vh;
height: 96vh;
margin-top: 2vh;
}
}

Expand Down