Force data table to use full width #3530
Answered
by
squidfunk
Stephen-Gates
asked this question in
Q&A
-
Is there a way to make the data table in the screenshot below align with the right edge of the admonition? |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Feb 3, 2022
Replies: 1 comment
-
This should work: .md-typeset__table {
width: 100%;
}
.md-typeset__table table:not([class]) {
display: table
} Note that I haven't tested it on mobile, so there might be rendering errors. But it should be a starting point at least. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Stephen-Gates
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should work:
Note that I haven't tested it on mobile, so there might be rendering errors. But it should be a starting point at least.