From e27396236e490c0bf040fdd47901ab8ba5c714cc Mon Sep 17 00:00:00 2001
From: "mihailo.vojinovic" <mihailonvojinovic@gmail.com>
Date: Wed, 11 Feb 2026 15:43:50 +0100
Subject: Add some small screen handling

---
 src/components/invoice-generator.tsx | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

(limited to 'src/components/invoice-generator.tsx')

diff --git a/src/components/invoice-generator.tsx b/src/components/invoice-generator.tsx
index 32f2d53..3389c25 100644
--- a/src/components/invoice-generator.tsx
+++ b/src/components/invoice-generator.tsx
@@ -55,22 +55,30 @@ export const InvoiceGenerator = () => {
       className="max-w-5xl rounded-sm border p-4 shadow-lg"
     >
       <div className="flex justify-between gap-4">
-        <section className="grid auto-rows-min grid-cols-2 gap-2">
+        <section className="grid auto-rows-min gap-2 md:grid-cols-2">
           <Input
             {...register("from")}
             placeholder="Who is this from?"
-            className="col-span-2"
+            className="md:col-span-2"
           />
           {errors["from"] && (
-            <p className="col-span-2">{errors["from"].message ?? "Error"}</p>
+            <p className="md:col-span-2">{errors["from"].message ?? "Error"}</p>
           )}
           <div className="grid">
             <label>Bill To</label>
-            <Input {...register("bill_to")} placeholder="Who is this for?" />
+            <Input
+              {...register("bill_to")}
+              className="w-full"
+              placeholder="Who is this for?"
+            />
           </div>
           <div className="grid">
             <label>Ship To</label>
-            <Input {...register("ship_to")} placeholder="(optional)" />
+            <Input
+              {...register("ship_to")}
+              className="w-full"
+              placeholder="(optional)"
+            />
           </div>
         </section>
         <section className="grid auto-rows-min grid-cols-2 gap-2">
-- 
cgit v1.3.1

