From e6af2ce75508667f1e1b2230b34ac2b53790b6c5 Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Fri, 20 Dec 2024 12:47:27 +0800 Subject: [PATCH 1/3] =?UTF-8?q?doc:=20=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E6=90=9C=E7=B4=A2=E6=A0=8F=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Components/CultureChooser.razor.css | 2 +- .../Components/Components/Header.razor.css | 5 +++++ src/BootstrapBlazor.Server/wwwroot/css/site.css | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/Components/Components/CultureChooser.razor.css b/src/BootstrapBlazor.Server/Components/Components/CultureChooser.razor.css index fc8be97f253..8190e8d3c93 100644 --- a/src/BootstrapBlazor.Server/Components/Components/CultureChooser.razor.css +++ b/src/BootstrapBlazor.Server/Components/Components/CultureChooser.razor.css @@ -14,7 +14,7 @@ } .culture-selector ::deep .select { - width: 210px; + width: var(--bb-header-select-width); } ::deep .form-control { diff --git a/src/BootstrapBlazor.Server/Components/Components/Header.razor.css b/src/BootstrapBlazor.Server/Components/Components/Header.razor.css index 5f7d0e5d79d..fee33fb32e9 100644 --- a/src/BootstrapBlazor.Server/Components/Components/Header.razor.css +++ b/src/BootstrapBlazor.Server/Components/Components/Header.razor.css @@ -63,6 +63,11 @@ border-radius: var(--bs-border-radius); } +::deep .bb-g-search { + width: var(--bb-header-select-width); + margin-bottom: var(--bb-header-search-margin-bottom); +} + @media (min-width: 768px) { .navbar-header { position: sticky; diff --git a/src/BootstrapBlazor.Server/wwwroot/css/site.css b/src/BootstrapBlazor.Server/wwwroot/css/site.css index 3d81b1df59a..38b4ec97ce1 100644 --- a/src/BootstrapBlazor.Server/wwwroot/css/site.css +++ b/src/BootstrapBlazor.Server/wwwroot/css/site.css @@ -37,6 +37,8 @@ --bb-sidebar-body-hover-bg: rgba(175, 184, 193, 0.2); --bb-sidebar-body-drag-hover-bg: rgb(9, 105, 218); --bb-code-bg: #e9ecef; + --bb-header-select-width: 230px; + --bb-header-search-margin-bottom: .5rem; } html .search-dialog-mask { @@ -302,6 +304,8 @@ code { @media (min-width: 768px) { :root { --bs-header-height: 50px; + --bb-header-select-width: 130px; + --bb-header-search-margin-bottom: 0; } .header-img span { From a5c19bedc51332c3ec1b3d43134da63e4ce3f136 Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Fri, 20 Dec 2024 12:47:35 +0800 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index b921bcb0ef7..031fc497750 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -47,11 +47,11 @@ - + - + From cc332b0afe373ac4704f56ae227f27a26a960461 Mon Sep 17 00:00:00 2001 From: Argo-AsicoTech Date: Fri, 20 Dec 2024 13:15:24 +0800 Subject: [PATCH 3/3] chore: bump version 9.0.10 --- src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj index 031fc497750..1702ed7eaec 100644 --- a/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj +++ b/src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj @@ -47,7 +47,7 @@ - +