all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager 1/2] ui: ceph: fix vertical alignment of usage meter
Date: Tue, 26 May 2026 12:27:50 +0200	[thread overview]
Message-ID: <20260526102805.1977534-1-d.csapak@proxmox.com> (raw)

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





             reply	other threads:[~2026-05-26 10:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26 10:27 Dominik Csapak [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260526102805.1977534-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal