Open Klobenda opened 1 year ago
Please add this!
lemmy-ui doesn't have settings of its own, but I'd be willing to merge something that looks better on larger screens, as long as there's no custom css.
Check the containers here: https://getbootstrap.com/docs/4.6/layout/overview/#containers
lemmy-ui doesn't have settings of its own, but I'd be willing to merge something that looks better on larger screens, as long as there's no custom css.
Check the containers here: https://getbootstrap.com/docs/4.6/layout/overview/#containers
The only solutions I can think of are
container-xxl
class that remains fluid up to a width where it becomes untenablecontainer-fluid
or container-lg
, and the toggle could have d-none d-block-lg
to reduce clutter when it's not applicable.Choosing one of bootstrap's limited sizes is a non-solution, because they end at such a tiny size.
In a perfect world, being able to select between "standard" (current behavior, container-lg
), "wide" (the xxl breakpoint option), and "fullwidth" as layout options would be great, but I respect wanting to keep things simple.
Adding a breakpoint should be pretty simple as long as you build off of the SCSS version of BS4 and don't break the rules around breakpoint sizes;
I think its not done with a simple width-unset. The sidebar will be quite big on larger displays.
The width could be adjustable by dragging the side edges of the main content area
Is there any reason to not just make the container fluid without a toggle? The only feedback I've seen on all of the unnecessary whitespace was negative.
Is there any reason to not just make the container fluid without a toggle?
Wide paragraphs can be exhausting to read
Just tested by disabled max with on "community container-lg" and it looks exactly how I'd want the site to look like. I really hope this is implemented.
Wide paragraphs can be exhausting to read
Under that logic, we should make our paragraphs 40-characters wide, which is just going to make the problem worse.
For backend issues, use lemmy
Is your proposal related to a problem?
See this user post
And I'd have to agree with this user that the option would be nice
Describe the solution you'd like
An option is available to view lemmy in fullwidth. In the front-end template, changing all
container-lg
tocontainer-fluid
does the trick, but I know there's more to adding a toggle than just changing that class.Describe alternatives you've considered
Users can override it per-instance by adding this userstyle:
Additional context
(Write your answer here.)