Skip to content

Scheduling infrastructure for absolutely everyone.

Fix UI issues (#4300)

Nafees Nazikdce7973825c9
diff --git a/apps/web/components/v2/settings/ImageUploader.tsx b/apps/web/components/v2/settings/ImageUploader.tsx
index e31a6dd87a2..09648e5444c 100644
--- a/apps/web/components/v2/settings/ImageUploader.tsx
+++ b/apps/web/components/v2/settings/ImageUploader.tsx
@@ -113,7 +113,7 @@ export default function ImageUploader({
}>
<DialogTrigger asChild>
<div className="flex items-center">
- <Button color="secondary" type="button" className="py-1 text-xs">
+ <Button color="secondary" type="button" className="py-1 text-sm">
{buttonMsg}
</Button>
</div>
diff --git a/apps/web/pages/v2/settings/my-account/profile.tsx b/apps/web/pages/v2/settings/my-account/profile.tsx
index ef8ddc6fc7f..3c3e57736a6 100644
--- a/apps/web/pages/v2/settings/my-account/profile.tsx
+++ b/apps/web/pages/v2/settings/my-account/profile.tsx
@@ -191,7 +191,7 @@ const ProfileView = (props: inferSSRProps<typeof getServerSideProps>) => {
{t("update")}
</Button>
- <hr className="my-6 border-2 border-neutral-200" />
+ <hr className="my-6 border-neutral-200" />
<Label>{t("danger_zone")}</Label>
{/* Delete account Dialog */}
diff --git a/packages/ui/v2/core/Button.tsx b/packages/ui/v2/core/Button.tsx
index 24479018c95..d0abb76ed2a 100644
--- a/packages/ui/v2/core/Button.tsx
+++ b/packages/ui/v2/core/Button.tsx
@@ -47,7 +47,7 @@ const variantClassName = {
minimalSecondary:
"text-gray-700 bg-transparent hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:bg-gray-100 focus:ring-brand-900 dark:text-darkgray-900 hover:dark:text-gray-50 border border-transparent hover:border-gray-300",
destructive:
- "text-gray-700 bg-transparent hover:bg-red-100 hover:text-red-700 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:bg-red-100 focus:ring-red-700",
+ "text-gray-900 focus:text-red-700 bg-transparent hover:bg-red-100 hover:text-red-700 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:bg-red-100 focus:ring-red-700",
};
const variantDisabledClassName = {
primary: "border border-transparent bg-brand-500 bg-opacity-20 text-white",