From 64af7b414edcb4fe2cde1a823b7a0c9c8ae8e5bb Mon Sep 17 00:00:00 2001 From: Agrim Jain Date: Fri, 27 Sep 2024 16:20:05 +0400 Subject: [PATCH] fix: quill issue fix --- package-lock.json | 8 -------- .../Apiexplorer/Schema/Schema.module.scss | 1 + .../Home/ApiFeatures/ApiFeatures.module.scss | 1 + src/features/Home/Benefits/Benefits.module.scss | 1 + .../ClientLibraries/ClientLibraries.module.scss | 1 + .../Home/GetStarted/GetStarted.module.scss | 1 + .../Home/HeroHeader/HeroHeader.module.scss | 2 +- .../Home/WaysToEarn/WaysToEarn.module.scss | 1 + src/styles/index.scss | 15 ++++++++++++++- 9 files changed, 21 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7bd39125..1dfe044b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14466,14 +14466,6 @@ "url": "https://github.com/sponsors/typicode" } }, - "node_modules/i": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/i/-/i-0.3.7.tgz", - "integrity": "sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q==", - "engines": { - "node": ">=0.4" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "license": "MIT", diff --git a/src/features/Apiexplorer/Schema/Schema.module.scss b/src/features/Apiexplorer/Schema/Schema.module.scss index 450e9c17f..43a3302d4 100644 --- a/src/features/Apiexplorer/Schema/Schema.module.scss +++ b/src/features/Apiexplorer/Schema/Schema.module.scss @@ -85,6 +85,7 @@ opacity: 0; color: var(--ifm-color-secondary-darkest); font-family: lucida console, Monaco, monospace; + font-size: 15.2px !important; padding: rem(0.2); position: absolute; right: rem(0.3); diff --git a/src/features/Home/ApiFeatures/ApiFeatures.module.scss b/src/features/Home/ApiFeatures/ApiFeatures.module.scss index f0070a74b..4c496e88a 100644 --- a/src/features/Home/ApiFeatures/ApiFeatures.module.scss +++ b/src/features/Home/ApiFeatures/ApiFeatures.module.scss @@ -1,5 +1,6 @@ @use 'src/styles/utility' as *; .FeaturesContainer { + font-family: var(--ibm-font-family-base); display: flex; width: 100%; align-items: center; diff --git a/src/features/Home/Benefits/Benefits.module.scss b/src/features/Home/Benefits/Benefits.module.scss index ef9670bba..f86352b18 100644 --- a/src/features/Home/Benefits/Benefits.module.scss +++ b/src/features/Home/Benefits/Benefits.module.scss @@ -1,6 +1,7 @@ @use 'src/styles/utility' as *; .BenefitsContainer { + font-family: var(--ibm-font-family-base); width: 100%; .Heading { diff --git a/src/features/Home/ClientLibraries/ClientLibraries.module.scss b/src/features/Home/ClientLibraries/ClientLibraries.module.scss index 80e4d034d..9286338d6 100644 --- a/src/features/Home/ClientLibraries/ClientLibraries.module.scss +++ b/src/features/Home/ClientLibraries/ClientLibraries.module.scss @@ -15,6 +15,7 @@ padding: 0 rem(2); } .SubText { + font-family: var(--ibm-font-family-base); text-align: center; font-size: rem(2.4); font-weight: 400; diff --git a/src/features/Home/GetStarted/GetStarted.module.scss b/src/features/Home/GetStarted/GetStarted.module.scss index ec301ac88..ddc770b4e 100644 --- a/src/features/Home/GetStarted/GetStarted.module.scss +++ b/src/features/Home/GetStarted/GetStarted.module.scss @@ -10,6 +10,7 @@ justify-content: center; .columnContainer { + font-family: var(--ibm-font-family-base); display: flex; flex-direction: column; flex-wrap: nowrap; diff --git a/src/features/Home/HeroHeader/HeroHeader.module.scss b/src/features/Home/HeroHeader/HeroHeader.module.scss index 77476174f..7099d13e3 100644 --- a/src/features/Home/HeroHeader/HeroHeader.module.scss +++ b/src/features/Home/HeroHeader/HeroHeader.module.scss @@ -43,7 +43,7 @@ .SubHeading { color: var(--ifm-color-white); font-weight: 400; - + font-family: var(--ibm-font-family-base); @media screen and (max-width: 992px) { text-align: center; font-size: rem(1.6); diff --git a/src/features/Home/WaysToEarn/WaysToEarn.module.scss b/src/features/Home/WaysToEarn/WaysToEarn.module.scss index e5eaff428..b94471d42 100644 --- a/src/features/Home/WaysToEarn/WaysToEarn.module.scss +++ b/src/features/Home/WaysToEarn/WaysToEarn.module.scss @@ -6,6 +6,7 @@ } .WaysWrapper { + font-family: var(--ibm-font-family-base); width: 80%; display: flex; flex-wrap: wrap; diff --git a/src/styles/index.scss b/src/styles/index.scss index 6decdaaee..8bca64f8b 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -68,7 +68,7 @@ } html { - font-family: var(--ibm-font-family-base); + font: var(--ifm-font-size-base) / var(--ifm-line-height-base) var(--ifm-font-family-base) !important; } h1, @@ -152,6 +152,15 @@ a { } } +.codeBlockContent { + font-size: 15.2px; + font-family: var(--ibm-font-family-base); +} + +code { + font-size: 15.2px !important; +} + p, h1, h2, @@ -518,6 +527,10 @@ main[class*='docMainContainer'] .container { margin-top: rem(9); } +.theme-doc-markdown { + font-family: var(--ibm-font-family-base); +} + .menu__link { font-size: rem(1.4); font-weight: var(--ifm-font-weight-normal);