Responsive design for Sender-page

This commit is contained in:
Rudi committed 2026-10-13 21:46:42 +02:00
1 parent 998434e4eb
commit c71df05598
5 files changed
+36 -64

No files matched your search

+5 -5
View File
@@ -36,13 +36,13 @@ function File({ ...props }: ComponentPropsWithoutRef<"input">) {
);
}
function Button({ children, ...props }: ComponentPropsWithoutRef<"button">) {
function Button({ children, className = "", ...props }: ComponentPropsWithoutRef<"button">) {
return (
<button
className="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg px-4 py-2.5 transition text-sm shadow-sm"
{...props}
className={`bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg px-4 py-2.5 transition text-sm shadow-sm ${className || "w-full"}`}
{...props}
>
{children}
{children}
</button>
)
}
@@ -61,4 +61,4 @@ export const Input = {
File: File,
Button: Button,
Label: Label,
};
};