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 17E121FF139 for ; Mon, 12 Jan 2026 13:09:09 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 077901CE26; Mon, 12 Jan 2026 13:09:11 +0100 (CET) From: Dominik Csapak To: yew-devel@lists.proxmox.com Date: Mon, 12 Jan 2026 13:09:02 +0100 Message-ID: <20260112120907.1947324-3-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260112120907.1947324-1-d.csapak@proxmox.com> References: <20260112120907.1947324-1-d.csapak@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.032 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 Subject: [yew-devel] [PATCH yew-widget-toolkit-assets 1/1] material: tab panel: fix secondary tab bar style 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: yew-devel-bounces@lists.proxmox.com Sender: "yew-devel" secondary tabbars should align the icon in a row, not a column, and also the icon should use the same size as the text. Use the new 'primary' and 'secondary' classes on the tabbars to differentiate them. Signed-off-by: Dominik Csapak --- scss/material/_theme_post_material.scss | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/scss/material/_theme_post_material.scss b/scss/material/_theme_post_material.scss index 0f448cb..c88b055 100644 --- a/scss/material/_theme_post_material.scss +++ b/scss/material/_theme_post_material.scss @@ -35,15 +35,27 @@ ul.pwt-menubar { span { display: flex; - flex-direction: column; align-items: center; - gap: 0; + } + } + + &.primary { + .pwt-nav-link { + span { + gap: 0; + flex-direction: column; - &:before { - font-size: map-get($font-size, "headline-small"); + &:before { + font-size: map-get($font-size, "headline-small"); + } } } } + &.secondary { + span { + flex-direction: row; + } + } } /// `pwt-datatable-content tr` -- 2.47.3 _______________________________________________ yew-devel mailing list yew-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel