James McCool commited on
Commit
f0d329b
·
1 Parent(s): a29e0e0

Refactor DataTable component layout by removing unnecessary width constraint from the main div for improved responsiveness.

Browse files
Files changed (1) hide show
  1. src/components/DataTable.jsx +1 -1
src/components/DataTable.jsx CHANGED
@@ -58,7 +58,7 @@ const DataTable = () => {
58
  }
59
 
60
  return (
61
- <div className="w-full max-w-4xl mx-auto p-6">
62
  <div className="flex justify-between items-center mb-6">
63
  <h2 className="text-2xl font-bold text-foreground">Interesting Mock Data</h2>
64
  <Button onClick={fetchFromMongoDB}>
 
58
  }
59
 
60
  return (
61
+ <div className="w-full mx-auto p-6">
62
  <div className="flex justify-between items-center mb-6">
63
  <h2 className="text-2xl font-bold text-foreground">Interesting Mock Data</h2>
64
  <Button onClick={fetchFromMongoDB}>