From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Dominik Csapak" <d.csapak@proxmox.com>, <yew-devel@lists.proxmox.com>
Subject: Re: [PATCH yew-widget-toolkit] widget: navigation drawer: match menu item indents with the icon width
Date: Tue, 01 Dec 2026 13:27:25 +0100 [thread overview]
Message-ID: <DN9E94WVO7G4.7QNEAIDPET6C@proxmox.com> (raw)
In-Reply-To: <577ed58f-2aeb-499a-b7d8-163542c0fda7@proxmox.com>
On Tue Dec 1, 2026 at 12:42 PM CET, Dominik Csapak wrote:
> hi,
>
> it's probably an improvement overall, but I'd like to not
> hardcode the theme sizes here in the code.
>
> Another way to do this would be to define a css variable
> for the navigation icons size, e.g.
>
> --nav-icon-font-size
>
> which could be used here:
>
> `width: calc(var(--nav-icon-font-size) * {});`
> (or having a class that uses a --ident-level css variable
> which we set as style)
>
> wdyt ?
mainly wanted to send a minimal patch here so avoided that. but sure we
can take that approach instead. ill send patches for that in a minute.
next prev parent reply other threads:[~2026-12-01 12:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 11:02 [PATCH yew-widget-toolkit] widget: navigation drawer: match menu item indents with the icon width Shannon Sterz
2026-12-01 11:42 ` Dominik Csapak
2026-12-01 12:27 ` Shannon Sterz [this message]
2026-12-01 12:48 ` Superseded: " Shannon Sterz
2026-12-01 14:21 ` applied: " Thomas Lamprecht
2026-12-01 14:33 ` 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=DN9E94WVO7G4.7QNEAIDPET6C@proxmox.com \
--to=s.sterz@proxmox.com \
--cc=d.csapak@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.