all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager 1/2] ui: configuration: options: don't show vertical scrollbar for field
@ 2026-11-30 14:29 Dominik Csapak
  2026-11-30 14:29 ` [PATCH datacenter-manager 2/2] ui: configuration: options: don't use large child for hints Dominik Csapak
  2026-11-30 20:15 ` applied: [PATCH datacenter-manager 1/2] ui: configuration: options: don't show vertical scrollbar for field Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Dominik Csapak @ 2026-11-30 14:29 UTC (permalink / raw)
  To: pdm-devel

When there is a single input field (like for the metric collection), the
label text is split across two lines, which makes the label overflow
vertically. On chrome, this showed a scrollbar.

Add a single unit of vertical padding in the input panel to prevent that
(Overflow into padding does not cause a scrollbar here).

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

diff --git a/ui/src/configuration/options.rs b/ui/src/configuration/options.rs
index 91505f3d..86ee947b 100644
--- a/ui/src/configuration/options.rs
+++ b/ui/src/configuration/options.rs
@@ -135,6 +135,7 @@ fn input_panel(label: String, field: impl Labelable) -> InputPanel {
     InputPanel::new()
         .class(pwt::css::FlexFit)
         .padding_x(2)
+        .padding_y(1)
         .with_field(label, field)
 }
 
-- 
2.47.3





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

end of thread, other threads:[~2026-11-30 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 14:29 [PATCH datacenter-manager 1/2] ui: configuration: options: don't show vertical scrollbar for field Dominik Csapak
2026-11-30 14:29 ` [PATCH datacenter-manager 2/2] ui: configuration: options: don't use large child for hints Dominik Csapak
2026-11-30 20:15 ` applied: [PATCH datacenter-manager 1/2] ui: configuration: options: don't show vertical scrollbar for field Thomas Lamprecht

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