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

Fix for docments table column widths #1441

Open
simonkeys opened this issue Aug 29, 2024 · 0 comments
Open

Fix for docments table column widths #1441

simonkeys opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@simonkeys
Copy link

Because Markdown tables must have fixed-width columns, the layout of the docments table is less than ideal. Here's an example from the nbdev documentation:

Untitled

We can use a css rule in styles.css to get auto spacing back:

.table colgroup col {width: auto !important;}

That looks a lot nicer to me:

Untitled 2

If it's too heavy-handed to disable all colgroup width specifications, maybe we could add a custom class to the docment table and use that in the css rule?

@simonkeys simonkeys added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant