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

Try to improve table readability #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MTRNord
Copy link

@MTRNord MTRNord commented Nov 19, 2023

I am not sure if this is better or worse tbh. The ellipsis via CSS dynamically only works for a single line which is also not great, hence done in R which equally is not great.

Additionally, the scrollbar imho happens way too late in the table as well. But since it's a table cell, it's not possible to override it's cell height.

There are ways to use grid + divs but this is not a div table and tbh accessiblity-wise that's not great.

TLDR: Table CSS still sucks in 2023 but at least this doesn't massively overflow anymore and it scrolls on mobile.

image

@GregSutcliffe
Copy link
Owner

This looks good, thanks @MTRNord! I'll try to give it a test tonight just for sanity, and then I can merge it.

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.

2 participants