From b7c8cfff764a95cfb910b320758cdf3d62a02dc0 Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Thu, 20 Feb 2025 12:19:20 +0100 Subject: [PATCH] Update button types in Ask.razor and improve CSS focus style - Specified `Type` attributes for buttons in `Ask.razor` to clarify their intended behavior. - Added `h1:focus` style in `app.css` to remove default outline for focused headings. --- SqlDatabaseVectorSearch/Components/Pages/Ask.razor | 6 +++--- SqlDatabaseVectorSearch/wwwroot/css/app.css | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SqlDatabaseVectorSearch/Components/Pages/Ask.razor b/SqlDatabaseVectorSearch/Components/Pages/Ask.razor index f9d4691..b1c282d 100644 --- a/SqlDatabaseVectorSearch/Components/Pages/Ask.razor +++ b/SqlDatabaseVectorSearch/Components/Pages/Ask.razor @@ -59,7 +59,7 @@
- @@ -84,10 +84,10 @@
- -
diff --git a/SqlDatabaseVectorSearch/wwwroot/css/app.css b/SqlDatabaseVectorSearch/wwwroot/css/app.css index a1da72e..947645a 100644 --- a/SqlDatabaseVectorSearch/wwwroot/css/app.css +++ b/SqlDatabaseVectorSearch/wwwroot/css/app.css @@ -11,10 +11,6 @@ --bb-sidebar2-nav-item-group-background-color: rgba(var(--bb-sidebar2-nav-item-text-active-color-rgb), 0.08); } -h1:focus { - outline: none; -} - .bb-sidebar2 nav .nav-item a { color: var(--bb-sidebar2-nav-item-text-color) !important; } @@ -29,6 +25,10 @@ h1:focus { color: var(--bb-sidebar2-nav-item-text-active-color) !important; } +h1:focus { + outline: none; +} + .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }