Skip to content

Conversation

@AmateurECE
Copy link

@AmateurECE AmateurECE commented Dec 21, 2025

Hello!

Many of the default media rules in verso trigger responsive layout changes when the screen size is at or below 700px. This works great for mobile, but makes sites rendered with verso a little awkward/uncomfortable to read at medium screen sizes, for example on tablets or in tiling window managers, where the sidebar takes up almost half of the screen.

I've increased some of these thresholds to 992px, chosen because it's the breakpoint for large screens in Bootstrap 5.0, and empirically this seemed to work better than larger breakpoints. I've built Theorem Proving in Lean 4 with these changes, and you can test/view them here: https://tpil.ethantwardy.com.

Previously, Theorem Proving in Lean4 had suboptimal layout on tablets.
Increase the max-width thresholds in various media screen rules to
trigger mobile layout changes on tablets.
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

Successfully merging this pull request may close these issues.

1 participant