Skip to content

Commit 02df9f2

Browse files
Copilotpelikhan
andauthored
Fix table CSS to span full width in documentation (#3908)
* Initial plan * Initial analysis of table CSS rendering issue Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Fix table CSS rendering to span full width Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> * Add table-layout: fixed to make tables span full width Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 1e8a632 commit 02df9f2

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/styles/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@
199199
}
200200

201201
:root[data-theme='light'] .sl-markdown-content table {
202+
width: 100%;
203+
table-layout: fixed;
202204
border: 1px solid #d0d7de;
203205
}
204206

@@ -553,6 +555,8 @@ header::after {
553555

554556
/* Tables */
555557
.sl-markdown-content table {
558+
width: 100%;
559+
table-layout: fixed;
556560
border: 1px solid #30363d;
557561
border-radius: 6px;
558562
border-collapse: separate;

0 commit comments

Comments
 (0)