all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Shannon Sterz <s.sterz@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH yew-widget-toolkit-assets 1/3] dialog: allow resize handle to fill the padding space in dialogs
Date: Thu,  5 Mar 2026 12:21:55 +0100	[thread overview]
Message-ID: <20260305112158.220557-2-s.sterz@proxmox.com> (raw)
In-Reply-To: <20260305112158.220557-1-s.sterz@proxmox.com>

instead of hard-coding a resize handle size 5px scale them along with
the spacing used by elements inside dialogs. this will allow these
handles to take up more space in themes that use more relaxed
densities than "Compact". especially on hi-dpi displays hitting a 5px
by 5px area for corner handles is rather tricky.

Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
---
 scss/_dialog.scss | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/scss/_dialog.scss b/scss/_dialog.scss
index 8121b75..94f8e62 100644
--- a/scss/_dialog.scss
+++ b/scss/_dialog.scss
@@ -57,7 +57,7 @@ dialog.pwt-outer-dialog {
     &.north-west,
     &.south-east,
     &.south-west {
-        width: 5px;
+        width: var(--pwt-spacer-2);
     }
 
     &.north,
@@ -66,34 +66,34 @@ dialog.pwt-outer-dialog {
     &.north-west,
     &.south-east,
     &.south-west {
-        height: 5px;
+        height: var(--pwt-spacer-2);
     }
 
     &.west {
-        top: 5px;
-        bottom: 5px;
+        top: var(--pwt-spacer-2);
+        bottom: var(--pwt-spacer-2);
         left: 0px;
         cursor: w-resize;
     }
 
     &.east {
-        top: 5px;
-        bottom: 5px;
+        top: var(--pwt-spacer-2);
+        bottom: var(--pwt-spacer-2);
         right: 0px;
         cursor: e-resize;
     }
 
     &.north {
         top: 0px;
-        left: 5px;
-        right: 5px;
+        left: var(--pwt-spacer-2);
+        right: var(--pwt-spacer-2);
         cursor: n-resize;
     }
 
     &.south {
         bottom: 0px;
-        left: 5px;
-        right: 5px;
+        left: var(--pwt-spacer-2);
+        right: var(--pwt-spacer-2);
         cursor: s-resize;
     }
 
-- 
2.47.3





  reply	other threads:[~2026-03-05 11:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-05 11:21 [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/4] yew ui tweaks Shannon Sterz
2026-03-05 11:21 ` Shannon Sterz [this message]
2026-03-05 11:21 ` [PATCH yew-widget-toolkit-assets 2/3] tree-wide: replace the disabled opacity with a variable and decrease it Shannon Sterz
2026-03-05 11:21 ` [PATCH yew-widget-toolkit-assets 3/3] docs: run `make refresh` Shannon Sterz
2026-03-05 11:21 ` [PATCH yew-widget-toolkit 1/1] gridpicker/combobox: allow autoselecting the filter field Shannon Sterz
2026-03-05 12:54 ` applied: [PATCH yew-widget-toolkit/yew-widget-toolkit-assets 0/4] yew ui tweaks Dominik Csapak

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=20260305112158.220557-2-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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal