From 092333b532410c01456b62f710ea48a6448a53da Mon Sep 17 00:00:00 2001 From: Carlos <36110765+carlosabadia@users.noreply.github.com> Date: Tue, 20 Aug 2024 21:16:35 +0200 Subject: [PATCH] [REF-3557] Make code block font size bigger (#856) --- docs/getting-started/introduction.md | 8 ++++---- pcweb/styles/fonts.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/introduction.md b/docs/getting-started/introduction.md index 4a0b48758..0e28e0e8a 100644 --- a/docs/getting-started/introduction.md +++ b/docs/getting-started/introduction.md @@ -159,7 +159,7 @@ rx.vstack( width="100%", code_tag_props={ "style": { - "fontFamily": "inherit", + "fontFamily": "Source Code Pro", } }, ), @@ -180,7 +180,7 @@ rx.vstack( width="100%", code_tag_props={ "style": { - "fontFamily": "inherit", + "fontFamily": "Source Code Pro", } }, border=rx.cond( @@ -208,7 +208,7 @@ rx.vstack( width="100%", code_tag_props={ "style": { - "fontFamily": "inherit", + "fontFamily": "Source Code Pro", } }, border=rx.cond( @@ -233,7 +233,7 @@ app.add_page(index)""", width="100%", code_tag_props={ "style": { - "fontFamily": "inherit", + "fontFamily": "Source Code Pro", } }, border=rx.cond( diff --git a/pcweb/styles/fonts.py b/pcweb/styles/fonts.py index b00c77af1..1522ee3ab 100644 --- a/pcweb/styles/fonts.py +++ b/pcweb/styles/fonts.py @@ -86,7 +86,7 @@ code = { "font-family": "Source Code Pro", - "font-size": "14px", + "font-size": "16px", "font-style": "normal", "font-weight": "400", "line-height": "24px",