1
0
mirror of https://gitlab.com/MisterBiggs/brain-quartz.git synced 2025-07-23 14:51:33 +00:00

feat: support non-singleton search

This commit is contained in:
Jacky Zhao
2025-03-09 15:33:15 -07:00
parent 1cd8e7f0d5
commit 9c8fec06d2
4 changed files with 67 additions and 64 deletions

View File

@@ -42,7 +42,7 @@
}
}
& > #search-container {
& > .search-container {
position: fixed;
contain: layout;
z-index: 999;
@@ -58,7 +58,7 @@
display: inline-block;
}
& > #search-space {
& > .search-space {
width: 65%;
margin-top: 12vh;
margin-left: auto;
@@ -91,7 +91,7 @@
}
}
& > #search-layout {
& > .search-layout {
display: none;
flex-direction: row;
border: 1px solid var(--lightgray);
@@ -102,7 +102,7 @@
display: flex;
}
&[data-preview] > #results-container {
&[data-preview] > .results-container {
flex: 0 0 min(30%, 450px);
}
@@ -150,7 +150,7 @@
scroll-margin-top: 2rem;
}
& > #preview-container {
& > .preview-container {
flex-grow: 1;
display: block;
overflow: hidden;
@@ -171,7 +171,7 @@
}
}
& > #results-container {
& > .results-container {
overflow-y: auto;
& .result-card {