mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 12:14:25 -07:00
Fix table width on docsite
This makes it so that table columns break by word instead of in between words. It also sets the minimum width of a column in the table to 100px, and makes tables horizontally scrollable on small screen sizes.
This commit is contained in:
parent
b0142f79ba
commit
e397d7d603
1 changed files with 11 additions and 1 deletions
|
@ -4738,7 +4738,17 @@ span[id*='MathJax-Span'] {
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
word-break: break-all;
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
th, td {
|
||||||
|
min-width: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue