Skip to content

Commit cab8345

Browse files
authored
Merge pull request #12067 from github/repo-sync
repo sync
2 parents 61c9ccc + b354609 commit cab8345

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

components/Search.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,8 @@
6464
left: 0;
6565
display: block;
6666
}
67+
68+
.headerSearchResults {
69+
overflow-y: auto;
70+
max-height: 80vh;
71+
}

components/Search.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,10 @@ function ShowSearchResults({
319319
}
320320

321321
const ActionListResults = (
322-
<div data-testid="search-results">
322+
<div
323+
data-testid="search-results"
324+
className={cx('mt-3', isHeaderSearch && styles.headerSearchResults)}
325+
>
323326
<div className="my-4">
324327
<p className="mx-4">
325328
You're searching the <span className="color-fg-attention">{searchVersion}</span>{' '}

0 commit comments

Comments
 (0)