From e4316f9e1187603fe91008bbdd7ecca519f769c9 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Mon, 14 Oct 2024 14:47:55 +0900 Subject: [PATCH 2/2] Apply proportional-nums for wiki text except for tables and code blocks --- app/assets/stylesheets/application.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index c239b0fca..d6c37da6e 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1408,6 +1408,13 @@ button.tab-left.disabled, button.tab-right.disabled { } /***** Wiki *****/ +div.wiki { + font-variant-numeric: proportional-nums; + & table, & pre, & code, & ol>li::marker { + font-variant-numeric: tabular-nums; + } +} + div.wiki table { border-collapse: collapse; margin-bottom: 1em; -- 2.45.2