From ab1e164f817cce8ec4bac25a8bb606411aff2ef1 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Sun, 21 Jul 2024 22:52:36 +0200 Subject: [PATCH] optimized wc profiles for darkmode --- src/Components/Profile/ContactInfo.tsx | 2 +- src/Components/Profile/OverlayItemProfile.tsx | 4 ++-- src/Components/Profile/ProfileSubHeader.tsx | 4 ++-- src/index.css | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Components/Profile/ContactInfo.tsx b/src/Components/Profile/ContactInfo.tsx index 39e9ad2a..15149079 100644 --- a/src/Components/Profile/ContactInfo.tsx +++ b/src/Components/Profile/ContactInfo.tsx @@ -5,7 +5,7 @@ const ContactInfo = ({ email, telephone, name, avatar, link }: { email: string, const assetsApi = useAssetApi(); return ( -
+

Du hast Fragen?

{avatar && ( diff --git a/src/Components/Profile/OverlayItemProfile.tsx b/src/Components/Profile/OverlayItemProfile.tsx index 33b50ffc..05d1fe6b 100644 --- a/src/Components/Profile/OverlayItemProfile.tsx +++ b/src/Components/Profile/OverlayItemProfile.tsx @@ -316,7 +316,7 @@ export function OverlayItemProfile({ userType }: { userType: string }) { )} {/* Description Section */} -
+
@@ -324,7 +324,7 @@ export function OverlayItemProfile({ userType }: { userType: string }) { {item.next_appointment && (

Nächste Termine

-
+
diff --git a/src/Components/Profile/ProfileSubHeader.tsx b/src/Components/Profile/ProfileSubHeader.tsx index f98900c4..4e2adc27 100644 --- a/src/Components/Profile/ProfileSubHeader.tsx +++ b/src/Components/Profile/ProfileSubHeader.tsx @@ -29,10 +29,10 @@ const SubHeader = ({ type, status, url, title }) => (
{status &&
- {statusMapping[status]} + {statusMapping[status]}
} {type &&
- {type} + {type}
}
diff --git a/src/index.css b/src/index.css index c46cd342..9fae544a 100644 --- a/src/index.css +++ b/src/index.css @@ -3,7 +3,7 @@ @tailwind utilities; .fade { - mask-image: linear-gradient(180deg, transparent, #000 2%, #000 98%, transparent); + mask-image: linear-gradient(180deg, transparent, #000 1%, #000 99%, transparent); } .tw-modal {