From ab9da02c60c962128820e6874e6f07c98bc3dda7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 04 Jul 2023 17:08:32 +0000
Subject: [PATCH] fix indexing causing main thread freeze, various polish
---
quartz/components/styles/search.scss | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index bac584b..1f0a8b5 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -1,8 +1,9 @@
+@use "../../styles/variables.scss" as *;
+
.search {
min-width: 5rem;
- max-width: 12rem;
+ max-width: 14rem;
flex-grow: 0.3;
- margin: 0 1.5rem;
& > #search-icon {
background-color: var(--lightgray);
@@ -56,7 +57,7 @@
margin-left: auto;
margin-right: auto;
- @media all and (max-width: 1200px) {
+ @media all and (max-width: $tabletBreakpoint) {
width: 90%;
}
@@ -102,6 +103,7 @@
& .highlight {
color: var(--secondary);
+ font-weight: 700;
}
&:hover, &:focus {
--
Gitblit v1.10.0