From 37c43381f65f34b20e8c83bb1f9405cbce33c71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sza=C5=82owski?= Date: Wed, 14 May 2025 09:13:42 +0200 Subject: [PATCH] fix(#3615): add scroll to markdown tables --- CHANGELOG.md | 1 + govtool/frontend/src/components/molecules/tableMarkdown.css | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79fbb49df..d935e8968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ changes. - Fix app crash on unhandled wallet error [Issue 3123](https://github.com/IntersectMBO/govtool/issues/3123) - Preserve new lines in markdown text [Issue 2712](https://github.com/IntersectMBO/govtool/issues/2712) +- Add scroll to markdown tables [Issue 3615](https://github.com/IntersectMBO/govtool/issues/3615) ### Changed diff --git a/govtool/frontend/src/components/molecules/tableMarkdown.css b/govtool/frontend/src/components/molecules/tableMarkdown.css index deb42462b..d8c15f1ba 100644 --- a/govtool/frontend/src/components/molecules/tableMarkdown.css +++ b/govtool/frontend/src/components/molecules/tableMarkdown.css @@ -1,7 +1,10 @@ table { + display: block; + overflow-x: auto; margin: 32px 0; border-spacing: 0; border-collapse: collapse; + max-width: 100%; } table thead {