From f4e3e7194f896d7ad9431d184850673b85e9a72e Mon Sep 17 00:00:00 2001
From: AFarHitman7
Date: Mon, 20 May 2024 00:38:09 +0530
Subject: [PATCH] fix(donation): fixed refund styles
---
.../Donation/components/RefundText.module.css | 82 +++----------------
.../Public/Donation/components/RefundText.tsx | 12 +--
2 files changed, 18 insertions(+), 76 deletions(-)
diff --git a/src/modules/Public/Donation/components/RefundText.module.css b/src/modules/Public/Donation/components/RefundText.module.css
index 6164d26ec..3701f920c 100644
--- a/src/modules/Public/Donation/components/RefundText.module.css
+++ b/src/modules/Public/Donation/components/RefundText.module.css
@@ -1,6 +1,5 @@
-h1,
-h2,
-h3 {
+.pageTitle,
+.heading2 {
letter-spacing: -0.01em;
line-height: 1.2;
font-weight: 600;
@@ -14,91 +13,43 @@ h3 {
margin-bottom: 0.75em;
}
-h1 {
+.pageTitle {
font-size: 1.875rem;
margin-top: 1.875rem;
}
-h2 {
+.heading2 {
font-size: 1.5rem;
margin-top: 1.5rem;
}
-h3 {
- font-size: 1.25rem;
- margin-top: 1.25rem;
-}
-
-ol,
-ul {
+.numberedList {
margin: 0;
margin-block-start: 0.6em;
margin-block-end: 0.6em;
}
-li > ol:first-child,
-li > ul:first-child {
- margin-block-start: 0.6em;
-}
-
-ul > li {
- list-style: disc;
-}
-
-ul.to-do-list {
- padding-inline-start: 0;
-}
-
-ul.to-do-list > li {
- list-style: none;
-}
-
.to-do-children-checked {
text-decoration: line-through;
opacity: 0.375;
}
-ul.toggle > li {
- list-style: none;
-}
-
-ul {
- padding-inline-start: 1.7em;
-}
-
-ul > li {
- padding-left: 0.1em;
-}
-
-ol {
+.numberedList {
padding-inline-start: 1.6em;
}
-ol > li {
+.numberedList > li {
padding-left: 0.2em;
}
-.mono ol {
+.mono .numberedList {
padding-inline-start: 2em;
}
-.mono ol > li {
+.mono .numberedList > li {
text-indent: -0.4em;
}
-.toggle {
- padding-inline-start: 0em;
- list-style-type: none;
-}
-
-/* Indent toggle children */
-.toggle > li > details {
- padding-left: 1.7em;
-}
-
-.toggle > li > details > summary {
- margin-left: -1.1em;
-}
.pageDescription {
margin-bottom: 2em;
}
@@ -113,26 +64,17 @@ ol > li {
font-size: 1.6rem;
}
- h1 {
+ .pageTitle {
font-size: 1.4rem;
margin-top: 1.875rem;
}
- h2 {
+ .heading2 {
font-size: 1.1rem;
margin-top: 1.5rem;
}
- h3 {
+ .pageBody p {
font-size: 0.9rem;
- margin-top: 1.25rem;
- }
-
- p {
- font-size: 0.9rem;
- }
-
- li {
- font-size: 0.8rem;
}
}
diff --git a/src/modules/Public/Donation/components/RefundText.tsx b/src/modules/Public/Donation/components/RefundText.tsx
index 393252393..a510676c4 100644
--- a/src/modules/Public/Donation/components/RefundText.tsx
+++ b/src/modules/Public/Donation/components/RefundText.tsx
@@ -20,7 +20,7 @@ export default function RefundPage(){
offer refunds on donations, we understand that circumstances
may arise where a donor may request a refund.
-
+
Receipt Issuance and Verification
-
+
Refund Eligibility
-
+
Subscription-Based Donations
-
+
Refund Process
-
+
Contact Information
@@ -173,7 +173,7 @@ export default function RefundPage(){
Karyavattom, Trivandrum
-
+
Policy Revision