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

[BSv5] Table widths should be the same as all doc page content #1473

Closed
Tracked by #470
chalin opened this issue Mar 9, 2023 · 0 comments · Fixed by #1474
Closed
Tracked by #470

[BSv5] Table widths should be the same as all doc page content #1473

chalin opened this issue Mar 9, 2023 · 0 comments · Fixed by #1474
Labels
bootstrap design/style Front-end site design / styling

Comments

@chalin
Copy link
Collaborator

chalin commented Mar 9, 2023

BSv5's table related styles used by Docsy (.table, .table-responsive, .table-striped) have changed. In particular, display is no longer set to block. This makes Docsy tables in doc pages fill the entire width of .td-content, which doesn't look right when all of the rest of the content is restricted by .td-max-width-on-larger-screens.

I'd suggest that we apply .td-max-width-on-larger-screens to tables as well.

For cases where projects would like the old BSv4 table formatting, apply the .d-block to one or all tables. To have tables fill in .td-content use .d-table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap design/style Front-end site design / styling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant