From 3b5ed813f5853b13711fb92f86648cb85e8d8f18 Mon Sep 17 00:00:00 2001
From: Andrew <80933354+ndrooo@users.noreply.github.com>
Date: Sat, 10 Aug 2024 01:46:50 +0000
Subject: [PATCH] feat(search): keyboard-accessible search button (#1331)
---
quartz/components/styles/search.scss | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index 8a9ec67..cc2daca 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -5,18 +5,21 @@
max-width: 14rem;
flex-grow: 0.3;
- & > #search-icon {
+ & > .search-button {
background-color: var(--lightgray);
+ border: none;
border-radius: 4px;
+ font-family: inherit;
+ font-size: inherit;
height: 2rem;
+ padding: 0;
display: flex;
align-items: center;
+ text-align: inherit;
cursor: pointer;
white-space: nowrap;
-
- & > div {
- flex-grow: 1;
- }
+ width: 100%;
+ justify-content: space-between;
& > p {
display: inline;
--
Gitblit v1.10.0