Scrollbar in long markdown tables #3704
Replies: 9 comments
-
The same thing happens to me, would there be any solution to this problem? |
Beta Was this translation helpful? Give feedback.
-
Same here with Firefox 71.0 (64-bit) (Ubuntu Focal) |
Beta Was this translation helpful? Give feedback.
-
You could add this to the CSS override in the Theme area in Administration. I'm still trying to remove padding and such. tr:nth-child(even){background-color:#eee}tr:hover{background-color:#fff}table{width:100%;overflow-x:auto;display:block;white-space:nowrap;font-size:small;} |
Beta Was this translation helpful? Give feedback.
-
Thanks, it's works for me. |
Beta Was this translation helpful? Give feedback.
-
For me the following worked without overflow: .contents table {
width:90%;
overflow-x:auto;
display:block;
white-space:nowrap;
font-size:small;
} |
Beta Was this translation helpful? Give feedback.
-
With the current Wiki.js rendering having
Additionally, having this would prevent texts such as long URLs breaking the layout (leading to breaking the popup menu position as well, which makes it hard to navigate out of the page),
I really think these should be the default as it's very easy to break the mobile experience with some long text or wide tables. |
Beta Was this translation helpful? Give feedback.
-
Is there any progress with that bug without some workarounds? It kinda makes it impossible to work with large tables. |
Beta Was this translation helpful? Give feedback.
-
Any workaround for this without having to hack the default theme? |
Beta Was this translation helpful? Give feedback.
-
I modified this for my use case since I wanted the contents in the table to wrap. .contents figure { .contents figure > table { I suspect this is more likely to be the the default behaviour wanted. |
Beta Was this translation helpful? Give feedback.
-
I created the following test table in a .md file:
The contents of a row that expand beyond the current window are not viewable. There is also no way to scroll horizontally on the table to view the contents at the end of the row.
Any ideas how to get around this?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions