Skip to content

Commit a207f56

Browse files
authored
Merge pull request #3627 from IntersectMBO/fix/3615-bug-markdown-tables-in-governance-actions-are-cropped-on-smaller-screens
fix(#3615): add scroll to markdown tables
2 parents 9a9b0fd + 37c4338 commit a207f56

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ changes.
1616

1717
- Fix app crash on unhandled wallet error [Issue 3123](https://github.com/IntersectMBO/govtool/issues/3123)
1818
- Preserve new lines in markdown text [Issue 2712](https://github.com/IntersectMBO/govtool/issues/2712)
19+
- Add scroll to markdown tables [Issue 3615](https://github.com/IntersectMBO/govtool/issues/3615)
1920

2021
### Changed
2122

govtool/frontend/src/components/molecules/tableMarkdown.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
table {
2+
display: block;
3+
overflow-x: auto;
24
margin: 32px 0;
35
border-spacing: 0;
46
border-collapse: collapse;
7+
max-width: 100%;
58
}
69

710
table thead {

0 commit comments

Comments
 (0)