mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00: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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user