nushell / nushell.github.io

Nushell's main website, blog, book, and more
https://www.nushell.sh/book/
MIT License
184 stars 438 forks source link

allow wider pages #1661

Open fdncred opened 8 hours ago

fdncred commented 8 hours ago

Is it possible to decrease the width of the areas marked in red? I'd like to have less wasted space and see more of the information. Screenshot 2024-12-04 134545

NotTheDr01ds commented 8 hours ago

Good question - I've noticed that as well from time to time.

The answer is ... "probably"? ;-)

I'll try to look into it, unless @hustcer knows more readily. I'm sure it involves CSS changes.

Might be tricky to get "just right" across platforms. I'm definitely no CSS guru, so not sure.

fdncred commented 3 hours ago

I manually hacked mine by turning off this css setting in the red oval. We could also change it to something like width: 90% if we wanted some padding. But I really have no idea how to do that without hacking.

image

fdncred commented 3 hours ago

Some quick research

https://github.com/vuejs/vuepress/issues/1867

hustcer commented 2 hours ago

I can expand the content area by 200 to 300 pixels, but it would look ugly if it takes up the full width.

fdncred commented 2 hours ago

It seems like it's width = 50%. I'd like to see it at least width = 85%

hustcer commented 2 hours ago

It seems like it's width = 50%. I'd like to see it at least width = 85%

That's too wide. It's about 740px currently, I can change it to around 960px (at most 1060px), that's the width of our homepage: https://www.nushell.sh/ or the width of the content area of https://docusaurus.io/docs