Skip to content

Commit 3a55a7e

Browse files
committed
Fix TWTable whitespace wrapping (#4359)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR adds the `whitespace-nowrap` class to the `ScrollShadow` component in `TWTable.tsx` for better text wrapping control. ### Detailed summary - Added `whitespace-nowrap` class to `ScrollShadow` component in `TWTable.tsx` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 0aa72e3 commit 3a55a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dashboard/src/components/shared/TWTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export function TWTable<TRowData>(tableProps: TWTableProps<TRowData>) {
115115
});
116116

117117
return (
118-
<ScrollShadow className="border border-border rounded-lg overflow-hidden">
118+
<ScrollShadow className="border border-border rounded-lg overflow-hidden whitespace-nowrap">
119119
<table className="w-full border-collapse tabular-nums lining-nums align-top">
120120
<thead className="bg-muted/50 border-b border-border">
121121
{table.getHeaderGroups().map((headerGroup) => (

0 commit comments

Comments
 (0)