Skip to content

fix(proxystatus): center the full-bleed route tree on the page - #4199

Merged
0pcom merged 1 commit into
skycoin:developfrom
0pcom:fix/tree-center
Aug 26, 2026
Merged

fix(proxystatus): center the full-bleed route tree on the page#4199
0pcom merged 1 commit into
skycoin:developfrom
0pcom:fix/tree-center

Conversation

@0pcom

@0pcom 0pcom commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

The route tree's full-bleed container spans the viewport, but its monospace <pre> text was left-aligned so it hugged the left edge instead of centering. This gives the container text-align:center and makes pre.bitree an inline-block with margin:0 auto, while the pre keeps text-align:left so the box-drawing branches stay aligned. overflow-x:auto remains as the safety for a tree wider than the viewport.

The route tree's full-bleed container spans the viewport, but its monospace
<pre> text was left-aligned so it hugged the left edge. Center it by giving
the container text-align:center and making pre.bitree an inline-block with
margin:0 auto, while the pre keeps text-align:left so the box-drawing
branches stay aligned. overflow-x:auto remains as the safety for a tree
wider than the viewport.
@0pcom
0pcom merged commit a86dbb6 into skycoin:develop Aug 26, 2026
11 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant