public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager 1/2] ui: ceph: fix vertical alignment of usage meter
@ 2026-05-26 10:27 Dominik Csapak
  2026-05-26 10:27 ` [PATCH datacenter-manager 2/2] ui: move global guest panel in the top level navigation Dominik Csapak
  2026-05-26 13:47 ` applied: [PATCH datacenter-manager 1/2] ui: ceph: fix vertical alignment of usage meter Thomas Lamprecht
  0 siblings, 2 replies; 5+ messages in thread
From: Dominik Csapak @ 2026-05-26 10:27 UTC (permalink / raw)
  To: pdm-devel

the usage meter here meddles with the baseline, so we must use 'middle'
instead of the default 'baseline'.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
 ui/src/ceph/clusters.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/ceph/clusters.rs b/ui/src/ceph/clusters.rs
index 4ee8a3fd..5929dd8d 100644
--- a/ui/src/ceph/clusters.rs
+++ b/ui/src/ceph/clusters.rs
@@ -317,6 +317,7 @@ fn columns() -> Rc<Vec<DataTableHeader<CephClusterListEntry>>> {
             .into(),
         DataTableColumn::new(tr!("Usage"))
             .width("minmax(100px,3fr)")
+            .vertical_align("middle")
             .render(
                 |item: &CephClusterListEntry| match (item.bytes_used, item.bytes_total) {
                     (Some(used), Some(total)) if total > 0 => usage_meter(used, total),
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-26 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-26 10:27 [PATCH datacenter-manager 1/2] ui: ceph: fix vertical alignment of usage meter Dominik Csapak
2026-05-26 10:27 ` [PATCH datacenter-manager 2/2] ui: move global guest panel in the top level navigation Dominik Csapak
2026-05-26 11:04   ` Lukas Wagner
2026-05-26 12:07     ` Thomas Lamprecht
2026-05-26 13:47 ` applied: [PATCH datacenter-manager 1/2] ui: ceph: fix vertical alignment of usage meter Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal