From b7c7838b962dbb1dc2b93dd6032beec3864e85c9 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 4 Jan 2023 21:30:57 +0100 Subject: [PATCH] Make code HTML elements monospace again --- app/assets/stylesheets/application.sass.scss | 1 + app/assets/stylesheets/overrides/_code.scss | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/assets/stylesheets/overrides/_code.scss diff --git a/app/assets/stylesheets/application.sass.scss b/app/assets/stylesheets/application.sass.scss index 01028d09..bda81241 100644 --- a/app/assets/stylesheets/application.sass.scss +++ b/app/assets/stylesheets/application.sass.scss @@ -70,6 +70,7 @@ $unicodeRangeValues in Lexend.$unicodeMap { "overrides/badges", "overrides/bootstrap-datetimepicker", "overrides/buttons", +"overrides/code", "overrides/colors", "overrides/card", "overrides/dropdown", diff --git a/app/assets/stylesheets/overrides/_code.scss b/app/assets/stylesheets/overrides/_code.scss new file mode 100644 index 00000000..c699577f --- /dev/null +++ b/app/assets/stylesheets/overrides/_code.scss @@ -0,0 +1,4 @@ +// BUG: We removed the prefix and Bootstrap still tried to load --bs-font-monospace +pre, code, kbd, samp { + font-family: var(--font-monospace); +}