From a6cd0131e8b270376447bf7d71c3ae52b1c1e713 Mon Sep 17 00:00:00 2001 From: Deborah Niesz Date: Thu, 19 Dec 2024 14:23:48 -0300 Subject: [PATCH 1/2] override the text-transform: uppercase that comes out of the box for admonitions --- docs/docusaurus/src/css/alerts.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docusaurus/src/css/alerts.scss b/docs/docusaurus/src/css/alerts.scss index f2ef751a0910..8aaf1736e4be 100644 --- a/docs/docusaurus/src/css/alerts.scss +++ b/docs/docusaurus/src/css/alerts.scss @@ -31,6 +31,10 @@ border-left-width: var(--ifm-alert-border-left-width); box-shadow: none; + & [class^="admonitionHeading"] { + text-transform: none; + } + div:first-child { font-size: var(--p-font-size); From 40e52017123122077943937ed85a04a203168bf5 Mon Sep 17 00:00:00 2001 From: Deborah Niesz Date: Fri, 20 Dec 2024 12:24:19 -0300 Subject: [PATCH 2/2] deleting unnecessary ampersand --- docs/docusaurus/src/css/alerts.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docusaurus/src/css/alerts.scss b/docs/docusaurus/src/css/alerts.scss index 8aaf1736e4be..b7a89673675a 100644 --- a/docs/docusaurus/src/css/alerts.scss +++ b/docs/docusaurus/src/css/alerts.scss @@ -31,7 +31,7 @@ border-left-width: var(--ifm-alert-border-left-width); box-shadow: none; - & [class^="admonitionHeading"] { + [class^="admonitionHeading"] { text-transform: none; }