From 5e4e259d8bfd9b062aa39af793ec3a59b70ad7f0 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 7 Aug 2026 01:44:10 -0500 Subject: Fix checklist rendering with inline code (#18) The .task-list-item CSS used display: inline-flex, which turned each text run and inline into separate rigid flex items so a bullet mixing code with text rendered malformed instead of flowing inline. The checkbox is already centered via vertical-align, so switch to plain inline display and let the fragments flow and wrap naturally. --- Hutch/Views/Repositories/ReadmeView.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Hutch/Views') diff --git a/Hutch/Views/Repositories/ReadmeView.swift b/Hutch/Views/Repositories/ReadmeView.swift index 69d105b..b8b9622 100644 --- a/Hutch/Views/Repositories/ReadmeView.swift +++ b/Hutch/Views/Repositories/ReadmeView.swift @@ -1809,9 +1809,7 @@ private struct HTMLWebViewRepresentable: UIViewRepresentable { vertical-align: middle; } .task-list-item { - display: inline-flex; - align-items: center; - gap: 0.1rem; + display: inline; } a { color: \(linkColor); } table { border-collapse: collapse; width: 100%; } -- cgit v1.2.3