Skip to content

Conversation

@havarddj
Copy link
Contributor

This PR changes the structure of the boxes on the home page to use css flexbox instead of styling html tables. This makes it much easier to add content without messing up the layout, or even adding more boxes down the line. It also improves the user experience on small screens.

Before:
Screenshot 2025-10-31 at 20 44 30

Screenshot 2025-10-31 at 20 45 06

After:

Screenshot 2025-10-31 at 20 44 42 Screenshot 2025-10-31 at 20 45 29

(Also fixes some unclosed <a>-tags in the yaml)

@rvisser7
Copy link
Contributor

rvisser7 commented Nov 6, 2025

This looks great, thanks! If I may add a small comment: I'd probably have a slight preference for the flexboxes to be top-aligned. I think it feels a bit easier to visually scan the page when the “A database” and “Announcements” headers line up horizontally (but this is just my personal preference 🙂).

@havarddj
Copy link
Contributor Author

havarddj commented Nov 7, 2025

Good call, I've fixed that and made a couple more tweaks. @assaferan, did you want to review it? Let me know if you have any suggestions! That said, I feel like I've personally reached the point of diminishing returns (partly mostly a skill issue)

@AndrewVSutherland AndrewVSutherland merged commit d12663c into LMFDB:main Nov 14, 2025
13 checks passed
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.

3 participants