Seth commited on
Commit ·
97b08c9
1
Parent(s): 9faed2a
update
Browse files- frontend/src/components/layout/AppHeader.jsx +1 -1
- frontend/src/components/layout/AppShell.jsx +4 -2
- frontend/src/components/workspace/MainTableWorkspace.jsx +5 -5
- frontend/src/pages/Contacts.jsx +1 -1
- frontend/src/pages/Deals.jsx +1 -1
- frontend/src/pages/EmailSequenceGenerator.jsx +1 -1
- frontend/src/pages/Leads.jsx +1 -1
frontend/src/components/layout/AppHeader.jsx
CHANGED
|
@@ -20,7 +20,7 @@ export default function AppHeader({ rightContent }) {
|
|
| 20 |
|
| 21 |
return (
|
| 22 |
<header className="border-b border-slate-100 bg-white/80 backdrop-blur-sm sticky top-0 z-50">
|
| 23 |
-
<div className="max-w-
|
| 24 |
<div className="flex items-center justify-between gap-4">
|
| 25 |
<div className="flex items-center gap-6">
|
| 26 |
<div className="flex items-center gap-3">
|
|
|
|
| 20 |
|
| 21 |
return (
|
| 22 |
<header className="border-b border-slate-100 bg-white/80 backdrop-blur-sm sticky top-0 z-50">
|
| 23 |
+
<div className="mx-auto w-full max-w-none px-4 sm:px-5 md:px-6 lg:px-8 xl:px-10 2xl:px-12 py-4">
|
| 24 |
<div className="flex items-center justify-between gap-4">
|
| 25 |
<div className="flex items-center gap-6">
|
| 26 |
<div className="flex items-center gap-3">
|
frontend/src/components/layout/AppShell.jsx
CHANGED
|
@@ -65,7 +65,7 @@ export default function AppShell({ title, subtitle, rightContent, children }) {
|
|
| 65 |
|
| 66 |
<div className="flex-1 min-w-0">
|
| 67 |
<header className="border-b border-slate-100 bg-white/80 backdrop-blur-sm sticky top-0 z-40">
|
| 68 |
-
<div className="
|
| 69 |
<div className="flex items-center justify-between gap-4">
|
| 70 |
<div>
|
| 71 |
<h2 className="text-xl font-bold text-slate-800">{title}</h2>
|
|
@@ -91,7 +91,9 @@ export default function AppShell({ title, subtitle, rightContent, children }) {
|
|
| 91 |
</nav>
|
| 92 |
</div>
|
| 93 |
</header>
|
| 94 |
-
<main className="max-w-
|
|
|
|
|
|
|
| 95 |
</div>
|
| 96 |
</div>
|
| 97 |
</div>
|
|
|
|
| 65 |
|
| 66 |
<div className="flex-1 min-w-0">
|
| 67 |
<header className="border-b border-slate-100 bg-white/80 backdrop-blur-sm sticky top-0 z-40">
|
| 68 |
+
<div className="mx-auto w-full px-4 sm:px-5 md:px-6 lg:px-8 xl:px-10 2xl:px-12 py-4">
|
| 69 |
<div className="flex items-center justify-between gap-4">
|
| 70 |
<div>
|
| 71 |
<h2 className="text-xl font-bold text-slate-800">{title}</h2>
|
|
|
|
| 91 |
</nav>
|
| 92 |
</div>
|
| 93 |
</header>
|
| 94 |
+
<main className="w-full min-w-0 max-w-none mx-auto px-4 sm:px-5 md:px-6 lg:px-8 xl:px-10 2xl:px-12 py-6 md:py-8">
|
| 95 |
+
{children}
|
| 96 |
+
</main>
|
| 97 |
</div>
|
| 98 |
</div>
|
| 99 |
</div>
|
frontend/src/components/workspace/MainTableWorkspace.jsx
CHANGED
|
@@ -24,7 +24,7 @@ export default function MainTableWorkspace({
|
|
| 24 |
children,
|
| 25 |
}) {
|
| 26 |
return (
|
| 27 |
-
<div className="space-y-4">
|
| 28 |
{tabs.length > 0 && (
|
| 29 |
<div className="flex flex-wrap gap-2 border-b border-slate-200 pb-3">
|
| 30 |
{tabs.map((t) => (
|
|
@@ -46,7 +46,7 @@ export default function MainTableWorkspace({
|
|
| 46 |
</div>
|
| 47 |
)}
|
| 48 |
|
| 49 |
-
<div className="flex w-full flex-col gap-3 lg:flex-row lg:items-center lg:gap-4">
|
| 50 |
<div className="shrink-0 order-1">
|
| 51 |
{primaryAction &&
|
| 52 |
(primaryAction.to ? (
|
|
@@ -75,8 +75,8 @@ export default function MainTableWorkspace({
|
|
| 75 |
</div>
|
| 76 |
|
| 77 |
{search && (
|
| 78 |
-
<div className="order-3 flex flex-1 justify-center
|
| 79 |
-
<div className="relative w-full max-w-md">
|
| 80 |
<Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-slate-400 pointer-events-none" />
|
| 81 |
<Input
|
| 82 |
className="pl-9 border-slate-200 shadow-sm"
|
|
@@ -97,7 +97,7 @@ export default function MainTableWorkspace({
|
|
| 97 |
<div className="rounded-xl border border-slate-200 bg-white p-4 shadow-sm">{filters}</div>
|
| 98 |
)}
|
| 99 |
|
| 100 |
-
<div className="
|
| 101 |
<button
|
| 102 |
type="button"
|
| 103 |
onClick={onSectionToggle}
|
|
|
|
| 24 |
children,
|
| 25 |
}) {
|
| 26 |
return (
|
| 27 |
+
<div className="w-full min-w-0 space-y-4">
|
| 28 |
{tabs.length > 0 && (
|
| 29 |
<div className="flex flex-wrap gap-2 border-b border-slate-200 pb-3">
|
| 30 |
{tabs.map((t) => (
|
|
|
|
| 46 |
</div>
|
| 47 |
)}
|
| 48 |
|
| 49 |
+
<div className="flex w-full min-w-0 flex-col gap-3 lg:flex-row lg:items-center lg:gap-4">
|
| 50 |
<div className="shrink-0 order-1">
|
| 51 |
{primaryAction &&
|
| 52 |
(primaryAction.to ? (
|
|
|
|
| 75 |
</div>
|
| 76 |
|
| 77 |
{search && (
|
| 78 |
+
<div className="order-3 flex min-w-0 flex-1 justify-center lg:order-2">
|
| 79 |
+
<div className="relative w-full max-w-md lg:max-w-xl xl:max-w-2xl 2xl:max-w-3xl">
|
| 80 |
<Search className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-slate-400 pointer-events-none" />
|
| 81 |
<Input
|
| 82 |
className="pl-9 border-slate-200 shadow-sm"
|
|
|
|
| 97 |
<div className="rounded-xl border border-slate-200 bg-white p-4 shadow-sm">{filters}</div>
|
| 98 |
)}
|
| 99 |
|
| 100 |
+
<div className="w-full min-w-0 overflow-visible rounded-xl border border-slate-200 bg-white shadow-sm">
|
| 101 |
<button
|
| 102 |
type="button"
|
| 103 |
onClick={onSectionToggle}
|
frontend/src/pages/Contacts.jsx
CHANGED
|
@@ -595,7 +595,7 @@ export default function Contacts() {
|
|
| 595 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 596 |
tableToolbar={bulkToolbar}
|
| 597 |
>
|
| 598 |
-
<div className="overflow-x-auto">
|
| 599 |
{loading ? (
|
| 600 |
<div className="flex justify-center py-16 text-slate-500">
|
| 601 |
<Loader2 className="h-8 w-8 animate-spin" />
|
|
|
|
| 595 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 596 |
tableToolbar={bulkToolbar}
|
| 597 |
>
|
| 598 |
+
<div className="w-full min-w-0 overflow-x-auto">
|
| 599 |
{loading ? (
|
| 600 |
<div className="flex justify-center py-16 text-slate-500">
|
| 601 |
<Loader2 className="h-8 w-8 animate-spin" />
|
frontend/src/pages/Deals.jsx
CHANGED
|
@@ -648,7 +648,7 @@ export default function Deals() {
|
|
| 648 |
sectionOpen={sectionOpen}
|
| 649 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 650 |
>
|
| 651 |
-
<div className="overflow-x-auto">
|
| 652 |
{loading ? (
|
| 653 |
<div className="flex justify-center py-16 text-slate-500">
|
| 654 |
<Loader2 className="h-8 w-8 animate-spin" />
|
|
|
|
| 648 |
sectionOpen={sectionOpen}
|
| 649 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 650 |
>
|
| 651 |
+
<div className="w-full min-w-0 overflow-x-auto">
|
| 652 |
{loading ? (
|
| 653 |
<div className="flex justify-center py-16 text-slate-500">
|
| 654 |
<Loader2 className="h-8 w-8 animate-spin" />
|
frontend/src/pages/EmailSequenceGenerator.jsx
CHANGED
|
@@ -279,7 +279,7 @@ export default function EmailSequenceGenerator() {
|
|
| 279 |
</AnimatePresence>
|
| 280 |
{/* Footer */}
|
| 281 |
<footer className="border-t border-slate-100 mt-16">
|
| 282 |
-
<div className="
|
| 283 |
<p className="text-center text-sm text-slate-400">
|
| 284 |
Powered by AI • Export ready for Outreaches, Smartlead, and more
|
| 285 |
</p>
|
|
|
|
| 279 |
</AnimatePresence>
|
| 280 |
{/* Footer */}
|
| 281 |
<footer className="border-t border-slate-100 mt-16">
|
| 282 |
+
<div className="w-full px-4 sm:px-5 md:px-6 lg:px-8 xl:px-10 2xl:px-12 py-6">
|
| 283 |
<p className="text-center text-sm text-slate-400">
|
| 284 |
Powered by AI • Export ready for Outreaches, Smartlead, and more
|
| 285 |
</p>
|
frontend/src/pages/Leads.jsx
CHANGED
|
@@ -393,7 +393,7 @@ export default function Leads() {
|
|
| 393 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 394 |
tableToolbar={bulkToolbar}
|
| 395 |
>
|
| 396 |
-
<div className="overflow-x-auto">
|
| 397 |
{loading ? (
|
| 398 |
<div className="flex justify-center py-16 text-slate-500">
|
| 399 |
<Loader2 className="h-8 w-8 animate-spin" />
|
|
|
|
| 393 |
onSectionToggle={() => setSectionOpen(!sectionOpen)}
|
| 394 |
tableToolbar={bulkToolbar}
|
| 395 |
>
|
| 396 |
+
<div className="w-full min-w-0 overflow-x-auto">
|
| 397 |
{loading ? (
|
| 398 |
<div className="flex justify-center py-16 text-slate-500">
|
| 399 |
<Loader2 className="h-8 w-8 animate-spin" />
|