docs(docs-infra): fix the top position of the search dialog (#60012)

Instead of centering the dialog, fix the top position in such way that when the results container is full, the dialog looks centered. This prevents the dialog from "jumping" when you type and the results change.

PR Close #60012
This commit is contained in:
hawkgs
2025-02-19 16:55:39 +02:00
committed by kirjs
parent 17c84e5a03
commit 8145b6e7a4
@@ -2,6 +2,8 @@ dialog {
background-color: transparent;
border: none;
padding-block-end: 3rem;
margin: 0 auto;
top: 15vh;
&::backdrop {
backdrop-filter: blur(5px);