From 2bae397128852e323ba757d9448eadd8fd7ac9ef Mon Sep 17 00:00:00 2001 From: Alex chow Date: Thu, 8 Feb 2024 16:11:14 +0100 Subject: [PATCH 1/3] fix(Logout): logout text max width not working --- src/BootstrapBlazor/Components/Logout/Logout.razor.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss index 8093ca48938..d81551eda66 100644 --- a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss +++ b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss @@ -53,6 +53,7 @@ color: var(--bb-logout-text-color); font-weight: bold; max-width: var(--bb-logout-text-max-width); + display: inline-flex; margin: var(--bb-logout-text-margin); overflow: hidden; text-overflow: ellipsis; From 999adfb03bb78e3ee553e0762f58cf3a66901a8e Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Thu, 8 Feb 2024 22:17:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=94=B9=20flex=20?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Logout/Logout.razor.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss index d81551eda66..fa412e2609d 100644 --- a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss +++ b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss @@ -53,7 +53,7 @@ color: var(--bb-logout-text-color); font-weight: bold; max-width: var(--bb-logout-text-max-width); - display: inline-flex; + display: flex; margin: var(--bb-logout-text-margin); overflow: hidden; text-overflow: ellipsis; From eeb4f33cbf6ed92f65cacdffb5d2b686fa9ebb04 Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Thu, 8 Feb 2024 22:20:42 +0800 Subject: [PATCH 3/3] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Logout/Logout.razor.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss index fa412e2609d..2515f1ab1a6 100644 --- a/src/BootstrapBlazor/Components/Logout/Logout.razor.scss +++ b/src/BootstrapBlazor/Components/Logout/Logout.razor.scss @@ -37,7 +37,9 @@ } .dropdown-logout .dropdown-toggle { - display: inline-block; + display: flex; + align-items: center; + flex-wrap: nowrap; } .dropdown-logout .dropdown-toggle:after { @@ -53,7 +55,6 @@ color: var(--bb-logout-text-color); font-weight: bold; max-width: var(--bb-logout-text-max-width); - display: flex; margin: var(--bb-logout-text-margin); overflow: hidden; text-overflow: ellipsis;