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

Wasted screen space #18

Open
dazdaz opened this issue Dec 19, 2020 · 2 comments
Open

Wasted screen space #18

dazdaz opened this issue Dec 19, 2020 · 2 comments

Comments

@dazdaz
Copy link

dazdaz commented Dec 19, 2020

Cobalt is by far the best theme on Typora but i'm surprised that so much screen space is wasted from

  • the left of the window, upto the left margin
  • the same on the right
  • underneath the main screen

Which stylesheet settings would need to be edited in cobalt.css manually to change this ?

@SirGryphin
Copy link

Edit: Not sure if you already figure this out for yourself as I've just seen it was posted months ago. Here it is anyway.

I've noticed this as well, it seems only certain theme use all screen space and there normally labeled "wide". If you want to do that for yours try this:

Default

#write {
    background: #131b29;
    color: #a9aaab;
    margin: 0 auto;
    max-width: 800px;
    padding: 30px;
    padding-bottom: 100px;
    position: static;
    width: 90%;
}

Wide
Just change max-width, you can find this bit of css between lines 70-79.

#write {
    background: #131b29;
    color: #a9aaab;
    margin: 0 auto;
    max-width: 100%;
    padding: 30px;
    padding-bottom: 100px;
    position: static;
    width: 90%;
}

I hope this helps, I'm trying to get into CSS myself as I love this theme but there's a few thing I would like to change and I would also like to fix file icons as well. It seems like author hasn't been around for a few months.

@dazdaz
Copy link
Author

dazdaz commented Oct 10, 2021

Nice one, thanks for sharing. I can confirm that this CSS setting works well for me and is better than my workaround using fixed pixels.

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

No branches or pull requests

2 participants