From 021bcd9057e1a0f3c2b5756f5cd613c635b47fbb Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Tue, 6 Jan 2026 23:22:55 +0900 Subject: Fix css: - Fix text inflation on IOS - Fix headerlink (anchors) --- responsive/cgit.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'responsive') diff --git a/responsive/cgit.css b/responsive/cgit.css index c69b01c..caf0dc1 100644 --- a/responsive/cgit.css +++ b/responsive/cgit.css @@ -133,6 +133,10 @@ body { background: var(--color-background); margin: 0; padding: 0; + + -webkit-text-size-adjust: 100%; + -moz-text-size-adjust: 100%; + text-size-adjust: 100%; } div#cgit { @@ -817,10 +821,8 @@ div#cgit table.blob pre { } /* Anchors (Permalinks) */ -.markdown-body .headerlink { - float: left; - padding-right: 4px; - margin-left: -20px; +.markdown-body a.headerlink { + padding-left: 1ch; line-height: 1; color: var(--color-primary); text-decoration: none; -- cgit v1.2.3