From df33162ab692facae5b1b684924f8f15ccc8b2cb Mon Sep 17 00:00:00 2001 From: Sulochan Khadka <122200551+Sulochan-khadka@users.noreply.github.com> Date: Tue, 2 Jul 2024 19:55:00 +0530 Subject: [PATCH 1/2] fixesTo remove the italic effect from a text on Playground page #199 --- site/src/components/Faq/faqSection.style.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/site/src/components/Faq/faqSection.style.js b/site/src/components/Faq/faqSection.style.js index 213c2ce..be3f516 100644 --- a/site/src/components/Faq/faqSection.style.js +++ b/site/src/components/Faq/faqSection.style.js @@ -1,4 +1,4 @@ -import styled from "styled-components"; +import styled from 'styled-components'; const FaqSectionWrapper = styled.section` margin: 2.5rem auto; @@ -7,7 +7,6 @@ const FaqSectionWrapper = styled.section` .category_name { margin: 2rem 0 0.5rem; - font-style: italic; text-transform: capitalize; } .accordion__item + .accordion__item { @@ -72,8 +71,8 @@ const FaqSectionWrapper = styled.section` font-size: 20px; width: 80%; padding: 1rem; - border: 1px solid #FFFFFF; - background-color: #F0F0F0; + border: 1px solid #ffffff; + background-color: #f0f0f0; border-radius: 1.25rem; } } From db86f980ca2f573d1d6d4e714380fe88e419c09f Mon Sep 17 00:00:00 2001 From: Sulochan Khadka <122200551+Sulochan-khadka@users.noreply.github.com> Date: Tue, 2 Jul 2024 20:02:12 +0530 Subject: [PATCH 2/2] fixes: Italic subheading Signed-off-by: Sulochan Khadka <122200551+Sulochan-khadka@users.noreply.github.com> --- site/src/components/Faq/faqSection.style.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/src/components/Faq/faqSection.style.js b/site/src/components/Faq/faqSection.style.js index be3f516..213c2ce 100644 --- a/site/src/components/Faq/faqSection.style.js +++ b/site/src/components/Faq/faqSection.style.js @@ -1,4 +1,4 @@ -import styled from 'styled-components'; +import styled from "styled-components"; const FaqSectionWrapper = styled.section` margin: 2.5rem auto; @@ -7,6 +7,7 @@ const FaqSectionWrapper = styled.section` .category_name { margin: 2rem 0 0.5rem; + font-style: italic; text-transform: capitalize; } .accordion__item + .accordion__item { @@ -71,8 +72,8 @@ const FaqSectionWrapper = styled.section` font-size: 20px; width: 80%; padding: 1rem; - border: 1px solid #ffffff; - background-color: #f0f0f0; + border: 1px solid #FFFFFF; + background-color: #F0F0F0; border-radius: 1.25rem; } }