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

How to increase page width to maximize content display #189

Open
samsaara opened this issue Dec 15, 2016 · 4 comments
Open

How to increase page width to maximize content display #189

samsaara opened this issue Dec 15, 2016 · 4 comments
Projects

Comments

@samsaara
Copy link

samsaara commented Dec 15, 2016

The default layout leaves so much space on either side of the screen while displaying content. With my limited knowledge of CSS, I couldn't exactly figure out where shall I tweak to increase the page width to, say, 80% or in terms of em .

Apart from trying few other things, I have also kept this in lanyon.css but not much use.

body {
    margin: 2px auto;
    width: 100%;
}

Any help really appreciated. :)

@BA88
Copy link

BA88 commented Jul 8, 2019

Has anyone found a solution to decreasing the amount of whitespace around content?

@znculee
Copy link

znculee commented Oct 18, 2019

When you have a large screen, you may want to assign more space for the centered content. You can do this by enlarging the max-width in line 85 of public/css/lanyon.css as follows.

@media (min-width: 56em) {
  .container {
    max-width: 47rem;
  }
}

@BA88
Copy link

BA88 commented Oct 18, 2019

Thank you! I'll try this.

@mdo
Copy link
Member

mdo commented Apr 3, 2020

Might be able to implement some options in a future release. Right now it’s designed this way on purpose, but I get super wide displays could look awkward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
v1.2.0
  
Awaiting triage
Development

No branches or pull requests

4 participants