From: Shannon Sterz <s.sterz@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-comp 2/3] task_viewer/syslog: make padding margin to improve ux
Date: Wed, 6 May 2026 11:55:24 +0200 [thread overview]
Message-ID: <20260506095525.114495-3-s.sterz@proxmox.com> (raw)
In-Reply-To: <20260506095525.114495-1-s.sterz@proxmox.com>
previously, using padding here meant that potential scrolbars would
overlap with the resize handles. by switching to margin the scrolbars
overlap the content of the `LogView` instead. improving usability by
no longer having interference between the scrollbars and the drag
handles.
Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
src/syslog.rs | 2 +-
src/task_viewer.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/syslog.rs b/src/syslog.rs
index 03926d1..d034f80 100644
--- a/src/syslog.rs
+++ b/src/syslog.rs
@@ -173,7 +173,7 @@ impl ProxmoxSyslog {
.into()
} else {
LogView::new(props.base_url.clone())
- .padding(2)
+ .margin(2)
.class("pwt-flex-fill")
.service(props.service.clone())
.since(date_time_to_epoch(&self.since, &self.since_time))
diff --git a/src/task_viewer.rs b/src/task_viewer.rs
index e78454e..648d20b 100644
--- a/src/task_viewer.rs
+++ b/src/task_viewer.rs
@@ -290,7 +290,7 @@ impl PwtTaskViewer {
.with_child(toolbar)
.with_child(
LogView::new(url)
- .padding(2)
+ .margin(2)
.class("pwt-flex-fill")
.active(active),
)
--
2.47.3
next prev parent reply other threads:[~2026-05-06 9:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 9:55 [PATCH datacenter-manager/yew-comp/yew-widget-toolkit 0/3] minor ui/ux tweaks for pwt and yew-comp Shannon Sterz
2026-05-06 9:55 ` [PATCH yew-widget-toolkit 1/3] dropdown/align: make the picker render above or below a dropdown Shannon Sterz
2026-05-06 9:55 ` Shannon Sterz [this message]
2026-05-06 9:55 ` [PATCH datacenter-manager 3/3] Revert "ui: css: limit max-height of dropdown picker" Shannon Sterz
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=20260506095525.114495-3-s.sterz@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=yew-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.