Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function SearchFilterOptions({ search }: Readonly<{ search: Searc
min={0}
max={1}
step={0.05}
placeholder="type's own"
placeholder="default"
aria-label="Threshold"
value={threshold}
onChange={e => setThreshold(e.target.value)}
Expand Down
13 changes: 13 additions & 0 deletions frontend/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3474,9 +3474,20 @@ pre.result-json {
.crud-opts {
padding: 0;
overflow: hidden;
/*
* The card never grows taller than the room it has. When the page squeezes it, as on the
* Search endpoint tab where it sits straight in the page's column, its rows scroll inside it
* and the footer, with the Generate button, stays in view below them.
*/
display: flex;
flex-direction: column;
min-height: 0;
}

.crud-opts-body {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
padding: 0 20px;
}

Expand Down Expand Up @@ -3534,6 +3545,8 @@ pre.result-json {
}

.crud-opts-footer {
/* Stays in view below the rows, which scroll when the card is squeezed (see .crud-opts). */
flex: none;
display: flex;
align-items: center;
gap: 12px;
Expand Down
Loading