Skip to content

Commit 50de4d9

Browse files
fix(modal): add scroll-margin-top for DocSearch-Hit (#2434)
fixes #2433
1 parent 7813494 commit 50de4d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/docsearch-css/src/modal.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@
263263
display: flex;
264264
padding-bottom: 4px;
265265
position: relative;
266+
scroll-margin-top: 40px;
266267
}
267268

268269
@media screen and (prefers-reduced-motion: reduce) {

0 commit comments

Comments
 (0)