[pdm-devel] [PATCH datacenter-manager 3/3] ui: views: remote panel: center error text

Dominik Csapak d.csapak at proxmox.com
Wed Dec 3 09:23:28 CET 2025


like we do on the node panels

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/dashboard/remote_panel.rs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ui/src/dashboard/remote_panel.rs b/ui/src/dashboard/remote_panel.rs
index 375e32ea..dbd346af 100644
--- a/ui/src/dashboard/remote_panel.rs
+++ b/ui/src/dashboard/remote_panel.rs
@@ -122,7 +122,11 @@ impl Component for PdmRemotePanel {
             .style("cursor", failure.then_some("pointer"))
             .gap(2)
             .with_child(remote_icon.large_4x())
-            .with_child(Container::new().with_child(remote_text))
+            .with_child(
+                Container::new()
+                    .class(css::TextAlign::Center)
+                    .with_child(remote_text),
+            )
             .into()
     }
 }
-- 
2.47.3





More information about the pdm-devel mailing list