add minor ui tweaks

This commit is contained in:
KM Koushik
2025-09-08 20:30:45 +10:00
parent db7863ca3e
commit 92f56f1ebf
5 changed files with 10 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ function Hero() {
<span className="text-primary font-normal"> <span className="text-primary font-normal">
Pay only for what you send Pay only for what you send
</span>{" "} </span>{" "}
and not for storing contacts. Open source and self-hostable. and not for storing contacts.
</p> </p>
<div className="mt-8 flex flex-col sm:flex-row items-center justify-center gap-3"> <div className="mt-8 flex flex-col sm:flex-row items-center justify-center gap-3">

View File

@@ -28,7 +28,7 @@ export default function EmailDetails({ emailId }: { emailId: string }) {
const emailQuery = api.email.getEmail.useQuery({ id: emailId }); const emailQuery = api.email.getEmail.useQuery({ id: emailId });
return ( return (
<div className="h-full overflow-auto px-4"> <div className="h-full overflow-auto px-4 no-scrollbar">
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<div className="flex gap-4 items-center"> <div className="flex gap-4 items-center">
<h1 className="font-bold">{emailQuery.data?.to}</h1> <h1 className="font-bold">{emailQuery.data?.to}</h1>

View File

@@ -267,7 +267,7 @@ export default function EmailsList() {
open={!!selectedEmail} open={!!selectedEmail}
onOpenChange={handleSheetChange} onOpenChange={handleSheetChange}
> >
<DynamicSheetContentWithNoSSR className=" sm:max-w-3xl"> <DynamicSheetContentWithNoSSR className="sm:max-w-3xl overflow-y-auto no-scrollbar">
<SheetTitle className="sr-only">Email Details</SheetTitle> <SheetTitle className="sr-only">Email Details</SheetTitle>
<SheetDescription className="sr-only"> <SheetDescription className="sr-only">
Detailed view of the selected email. Detailed view of the selected email.

View File

@@ -164,7 +164,7 @@ export default function SettingsPage() {
<div className="font-mono"> <div className="font-mono">
{currentTeam?.billingEmail || "No billing email set"} {currentTeam?.billingEmail || "No billing email set"}
</div> </div>
<Button onClick={handleEditEmail} variant="ghost" size="sm"> <Button onClick={handleEditEmail} variant="default" size="sm">
Edit Edit
</Button> </Button>
</div> </div>

View File

@@ -151,6 +151,12 @@
} }
} }
@layer utilities {
/* Hide scrollbars but preserve scroll behavior */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
}
/* .app, /* .app,
::before, ::before,
::after { ::after {