Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix: consistent spacing in dashboard page in mobile view

Harel Tussi22bba6b529af
diff --git a/components/layout/app/index.tsx b/components/layout/app/index.tsx
index 8e0beee5ec..ceb347ad35 100644
--- a/components/layout/app/index.tsx
+++ b/components/layout/app/index.tsx
@@ -36,7 +36,7 @@ export default function AppLayout({ children }: { children: ReactNode }) {
<Toaster />
<div className="min-h-screen w-full bg-gray-50">
<div className="sticky top-0 left-0 right-0 border-b bg-white border-gray-200 z-20">
- <div className="max-w-screen-xl mx-auto px-5 sm:px-20">
+ <div className="max-w-screen-xl mx-auto px-2.5 sm:px-20">
<div className="h-10 flex justify-between items-center my-3">
<div className="flex items-center">
<Link href="/">
diff --git a/pages/app/index.tsx b/pages/app/index.tsx
index 793df4db13..ce1c19af43 100644
--- a/pages/app/index.tsx
+++ b/pages/app/index.tsx
@@ -15,7 +15,7 @@ export default function App() {
return (
<AppLayout>
{data && <AddProjectModal />}
- <div className="h-36 flex items-center bg-white border-b border-gray-200">
+ <div className="h-20 md:h-36 flex items-center bg-white border-b border-gray-200">
<MaxWidthWrapper>
<div className="flex justify-between items-center">
<h1 className="text-2xl text-gray-600">My Projects</h1>