From 8145b6e7a47e644f160a6a6fab670ac485b7ce9c Mon Sep 17 00:00:00 2001 From: hawkgs Date: Wed, 19 Feb 2025 16:55:39 +0200 Subject: [PATCH] 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 --- .../components/search-dialog/search-dialog.component.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adev/shared-docs/components/search-dialog/search-dialog.component.scss b/adev/shared-docs/components/search-dialog/search-dialog.component.scss index a2ef86d3d03..995d880ad1d 100644 --- a/adev/shared-docs/components/search-dialog/search-dialog.component.scss +++ b/adev/shared-docs/components/search-dialog/search-dialog.component.scss @@ -2,6 +2,8 @@ dialog { background-color: transparent; border: none; padding-block-end: 3rem; + margin: 0 auto; + top: 15vh; &::backdrop { backdrop-filter: blur(5px);