From 7114d35230cb00a86d6ae75a1d83c7e6fe092ebf Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Sun, 8 Dec 2024 11:15:32 +0800 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20100%=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Tab/Tab.razor.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/BootstrapBlazor/Components/Tab/Tab.razor.scss b/src/BootstrapBlazor/Components/Tab/Tab.razor.scss index 8fdeba5fbeb..00b5e5c8715 100644 --- a/src/BootstrapBlazor/Components/Tab/Tab.razor.scss +++ b/src/BootstrapBlazor/Components/Tab/Tab.razor.scss @@ -15,7 +15,6 @@ .tabs-body-content { background-color: var(--bs-body-bg); - height: 100%; &.bb-fs-open { padding: var(--bb-tabs-body-padding); From 7cef2173b5a54f8ad8a43fef88393e83876826b0 Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Sun, 8 Dec 2024 11:21:02 +0800 Subject: [PATCH 2/3] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=20Layout=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Layout/Layout.razor.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/BootstrapBlazor/Components/Layout/Layout.razor.scss b/src/BootstrapBlazor/Components/Layout/Layout.razor.scss index 5bbba8f84f4..2223199b970 100644 --- a/src/BootstrapBlazor/Components/Layout/Layout.razor.scss +++ b/src/BootstrapBlazor/Components/Layout/Layout.razor.scss @@ -233,10 +233,13 @@ } &.is-fixed-tab { - .tabs-header { - position: sticky; - top: var(--bb-layout-header-height); - z-index: 5; + .tabs { + height: calc(var(--bb-layout-height) - var(--bb-layout-header-height) - var(--bb-layout-footer-height)); + + .tabs-body { + height: calc(100% - var(--bb-tabs-item-height)); + overflow: auto; + } } } } From c40a1ed05333bc39e9c8b1598aaf8d685cabcb18 Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Sun, 8 Dec 2024 11:21:14 +0800 Subject: [PATCH 3/3] =?UTF-8?q?doc:=20=E6=9B=B4=E6=96=B0=20Menu=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Menu/Menu.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/Menu/Menu.razor b/src/BootstrapBlazor/Components/Menu/Menu.razor index bc9846bfbdc..f1410329757 100644 --- a/src/BootstrapBlazor/Components/Menu/Menu.razor +++ b/src/BootstrapBlazor/Components/Menu/Menu.razor @@ -6,11 +6,11 @@ @if (IsVertical) { - + } else { - + }