Fix Podman Service log showing rc.podman's output as one run-together line
.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 <noreply@anthropic.com>
This commit is contained in:
@@ -345,6 +345,12 @@
|
|||||||
.podman-log-pane {
|
.podman-log-pane {
|
||||||
background: #0f1114; color: #c7ccd4; font-family: var(--font-mono); font-size: 12.3px;
|
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;
|
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 .l { white-space: pre-wrap; word-break: break-word; }
|
||||||
.podman-log-pane .ts { color: #6b7280; }
|
.podman-log-pane .ts { color: #6b7280; }
|
||||||
|
|||||||
Reference in New Issue
Block a user