Skip to content

Commit ac19f9d

Browse files
manorit2001StaticRocket
authored andcommitted
fix(css): Enable text wrapping in fixed-width tables
Add overflow-wrap properties to table cells to allow long text content to wrap properly when table-layout is fixed. This ensures column widths are respected while keeping content readable. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
1 parent 8a43b47 commit ac19f9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_static/css/theme_overrides.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@
2727
font-weight: 400;
2828
color: hsla(0, 0%, 100%, .3);
2929
}
30+
31+
/* Table wrapping override */
32+
.wy-table-responsive table td, .wy-table-responsive table th {
33+
overflow-wrap: break-word;
34+
white-space: normal;
35+
}

0 commit comments

Comments
 (0)