diff --git a/web/src/index.css b/web/src/index.css index 3b9f012..da313cf 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -5033,9 +5033,9 @@ pre { font-weight: 700; line-height: 1.25; color: inherit; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + white-space: normal; + overflow-wrap: anywhere; + text-align: center; } .topo-region-hex__title { display: flex; @@ -5047,7 +5047,7 @@ pre { min-width: 0; } .topo-region-hex__title .topo-region-hex__name { - max-width: 70%; + max-width: 100%; } .topo-region-hex__meta { display: inline; @@ -7392,6 +7392,15 @@ pre { height: 17px; } +.topo-node.is-region .topo-node__caption { + max-width: none; +} + +.topo-node.is-region .topo-node__caption-name { + overflow: visible; + text-overflow: clip; +} + .topo-node__glyph { position: relative; width: 25px; diff --git a/web/src/pages/TopologyPage.tsx b/web/src/pages/TopologyPage.tsx index be2b671..62bff53 100644 --- a/web/src/pages/TopologyPage.tsx +++ b/web/src/pages/TopologyPage.tsx @@ -774,7 +774,7 @@ const NeNode = memo(function NeNode({ data, selected }: NodeProps