From 38cff2d670ecf7fd325aaaf776a4c250a72cc661 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 04 Jul 2023 23:48:36 +0000
Subject: [PATCH] more visual polish, adjust colours and spacing
---
quartz/components/styles/search.scss | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/quartz/components/styles/search.scss b/quartz/components/styles/search.scss
index 1f0a8b5..fe94ec7 100644
--- a/quartz/components/styles/search.scss
+++ b/quartz/components/styles/search.scss
@@ -12,6 +12,7 @@
display: flex;
align-items: center;
cursor: pointer;
+ white-space: nowrap;
& > div {
flex-grow: 1;
@@ -38,12 +39,13 @@
& > #search-container {
position: fixed;
+ contain: layout;
z-index: 999;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
- overflow: scroll;
+ overflow-y: auto;
display: none;
backdrop-filter: blur(4px);
@@ -57,7 +59,7 @@
margin-left: auto;
margin-right: auto;
- @media all and (max-width: $tabletBreakpoint) {
+ @media all and (max-width: $fullPageWidth) {
width: 90%;
}
--
Gitblit v1.10.0