From e3a6b45768b6f8d6d6c1b0864ddc5a6ad6c29228 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Fri, 17 Nov 2023 09:33:45 +0900 Subject: [PATCH] Use monospace for method headings ref. https://github.com/rails/sdoc/blob/e26cca7ccbd0a2cd9ee5a9570c20fa193c825d1a/lib/sdoc/helpers.rb#L209-L218 --- src/_sass/railsdoc.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/_sass/railsdoc.scss b/src/_sass/railsdoc.scss index 6c919111f6..9b57f9f6db 100644 --- a/src/_sass/railsdoc.scss +++ b/src/_sass/railsdoc.scss @@ -170,6 +170,14 @@ code { } } +// FIXME: Wrap method with `code` tag in sdoc +.method { + h3 { + font-family: monospace; + font-size: 1.3rem; + } +} + #content { $hacky-div-height: 4rem;