From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id D99AE1FF15C for ; Fri, 27 Jun 2025 15:37:52 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6C56615708; Fri, 27 Jun 2025 15:38:29 +0200 (CEST) Message-ID: <659fcb2f-1472-41c5-b866-478874d3471e@proxmox.com> Date: Fri, 27 Jun 2025 15:38:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Shannon Sterz , Yew framework devel list at Proxmox References: <20250627120859.3723554-1-d.csapak@proxmox.com> <20250627120859.3723554-6-d.csapak@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: X-SPAM-LEVEL: Spam detection results: 0 AWL 0.022 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [mozilla.org, caniuse.com] Subject: Re: [yew-devel] [PATCH yew-widget-toolkit-assets 5/6] application bar: reverse back arrow for rtl X-BeenThere: yew-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Yew framework devel list at Proxmox List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yew framework devel list at Proxmox Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" On 6/27/25 14:54, Shannon Sterz wrote: > On Fri Jun 27, 2025 at 2:08 PM CEST, Dominik Csapak wrote: >> so it's in the correct orientation in RTL mode. >> >> needs the corresponding pwt patch to set the class. >> >> Signed-off-by: Dominik Csapak >> --- >> scss/_application_bar.scss | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/scss/_application_bar.scss b/scss/_application_bar.scss >> index b367a0b..17d4e63 100644 >> --- a/scss/_application_bar.scss >> +++ b/scss/_application_bar.scss >> @@ -10,4 +10,11 @@ >> padding: var(--pwt-spacer-1); >> gap: var(--pwt-spacer-2); >> } >> + >> +} >> + >> +/* change arrow icon direction */ >> +/* Note: :dir(rtl) only works with firefox, so we cant use that. */ > > this is not true (anymore?), `:dir()` has been declared baseline as of > 2023 and is available in chrome since chrome 120 according to can i use > [1,2]. > >> +html[dir="rtl"] .pwt-application-bar-back { >> + transform: scaleX(-1); >> } > > [1]: https://developer.mozilla.org/en-US/docs/Web/CSS/:dir > [2]: https://caniuse.com/css-dir-pseudo yeah, true. i just copied the comment from other places, that probably were introduced before this happened, thanks for noticing ! I'll see where else we can replace that with the ':dir()' selector _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel