diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index 74ac36ed..52623f43 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -10,6 +10,8 @@ import { motion, AnimatePresence } from "framer-motion"; import CloseIcon from "@mui/icons-material/Close"; import MenuIcon from "@mui/icons-material/Menu"; import InfoIcon from "@mui/icons-material/Info"; +import { cn } from "@/lib/utils"; +import { SHELL } from "@/utils/layout"; function Navbar() { const { address, isConnected } = useAccount(); @@ -138,7 +140,9 @@ function Navbar() { : "bg-[#161920]" }`} > -
+ {/* Shares the page shell's gutter so the logo and wallet button line up + with the content edges. */} +
-
-

- - Your Information -

+
+
+

+ + Your Information +

+

+ Applied as the sender on every invoice. Saved on this device only. +

+
{!loading && isComplete && ( diff --git a/frontend/src/page/Applayout.jsx b/frontend/src/page/Applayout.jsx index 83feae16..7c2d0d42 100644 --- a/frontend/src/page/Applayout.jsx +++ b/frontend/src/page/Applayout.jsx @@ -8,7 +8,9 @@ function Applayout() { return (
-
+ {/* Navbar is fixed at h-24, so the offset has to match it exactly — + pt-20 left content tucked 16px underneath. */} +
diff --git a/frontend/src/page/CreateInvoice.jsx b/frontend/src/page/CreateInvoice.jsx index e9193482..f49947af 100644 --- a/frontend/src/page/CreateInvoice.jsx +++ b/frontend/src/page/CreateInvoice.jsx @@ -55,6 +55,7 @@ import { toInvoiceUserDetails } from "@/utils/userProfile"; import { useUserProfile } from "@/hooks/useUserProfile"; import OnboardingProfileDialog from "@/components/OnboardingProfileDialog"; import SenderSummary from "@/components/SenderSummary"; +import { CARD, PAGE_CONTAINER } from "@/utils/layout"; import toast from "react-hot-toast"; import { storeInvoice } from "../services/invoiceStorage/invoiceDB.js"; import { computeInvoiceHash } from "../services/relay/invoiceHashUtils.js"; @@ -798,7 +799,7 @@ function CreateInvoice() {
{showUnsupportedNetwork && ( -
+

Unsupported network @@ -812,16 +813,11 @@ function CreateInvoice() {

)} -
+
{(searchParams.get("clientAddress") || searchParams.get("amount") || searchParams.get("description")) && ( -
+
@@ -837,42 +833,46 @@ function CreateInvoice() {
)} -
+

Create New Invoice

-
+ {/* Full width so its right edge lands on the same line as the Payment + Currency card and the items table below. Every block on the page + shares one left and one right edge. */} +
-
-
-