From 9b9d1a05ac9583fe7c291ff047ae687387ac7e06 Mon Sep 17 00:00:00 2001 From: magges Date: Sun, 12 Jul 2026 23:22:21 +0000 Subject: [PATCH] Fix Podman Service log showing rc.podman's output as one run-together line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .podman-log-pane's own multi-line white-space handling lived only on its .l child divs (used by the Logs tab's per-line entries) — Settings sets .textContent directly on the pane itself for rc.podman's raw output, so without white-space: pre-wrap on the pane too, every real newline in `rc.podman status`'s multi-line output collapsed into one paragraph. Co-Authored-By: Claude Sonnet 5 --- webui/plugins/podman/styles/podman.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webui/plugins/podman/styles/podman.css b/webui/plugins/podman/styles/podman.css index e32bef9..063678f 100644 --- a/webui/plugins/podman/styles/podman.css +++ b/webui/plugins/podman/styles/podman.css @@ -345,6 +345,12 @@ .podman-log-pane { background: #0f1114; color: #c7ccd4; font-family: var(--font-mono); font-size: 12.3px; padding: 14px 16px; height: 400px; overflow-y: auto; line-height: 1.65; + /* Settings' service log (and the log modal) set .textContent directly + on this element rather than wrapping every line in a child .l div — + needs its own white-space here too, or real newlines in rc.podman's + output collapse into one run-together line (found live: the whole + multi-line `rc.podman status` output rendered as a single paragraph). */ + white-space: pre-wrap; } .podman-log-pane .l { white-space: pre-wrap; word-break: break-word; } .podman-log-pane .ts { color: #6b7280; }