Skip to content

Commit 5d8d5a2

Browse files
committed
fix(dashboard): make user activity table full-width to enable horizontal scrolling
Replace `inline-table` with `min-w-full table-auto` in UserActivityCard so the table expands to the container width and horizontal overflow/scrolling works correctly inside the activity panel.
1 parent 7713673 commit 5d8d5a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react/pages/dashboard/UserActivityCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export default function UserActivityCard() {
208208
className="w-full max-w-full block relative overflow-x-auto max-h-[350px]"
209209
style={{ WebkitOverflowScrolling: 'touch' }}>
210210
{/* ensure table can grow and be horizontally scrolled inside the wrapper */}
211-
<table className="inline-table table-auto divide-y divide-gray-200 dark:divide-gray-700">
211+
<table className="min-w-full table-auto divide-y divide-gray-200 dark:divide-gray-700">
212212
<thead>
213213
<tr>
214214
{columns.map((col) => (

0 commit comments

Comments
 (0)