feat: support non-singleton search
This commit is contained in:
parent
1cd8e7f0d5
commit
9c8fec06d2
4 changed files with 67 additions and 64 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue