From c98ab1f9e79463c152312c592fa5a7b4ef8c3303 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sat, 13 Feb 2021 16:01:55 +0200 Subject: [PATCH] fix(docs-infra): fix search results top padding when a notification is visible (#40802) Previously, when a notification was visible at the top of the page, the search results pane had more top padding than necessary. This commit fixes it by removing the extra padding. Before: ![search-results before][1] After: ![search-results after][2] [1]: https://user-images.githubusercontent.com/8604205/106938100-3970a080-6727-11eb-8ae8-4e7a33af1daf.png [2]: https://user-images.githubusercontent.com/8604205/106938103-3aa1cd80-6727-11eb-96f5-f607bde314be.png PR Close #40802 --- aio/src/styles/2-modules/_notification.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/src/styles/2-modules/_notification.scss b/aio/src/styles/2-modules/_notification.scss index ef1dbe8015..daef41c4fa 100644 --- a/aio/src/styles/2-modules/_notification.scss +++ b/aio/src/styles/2-modules/_notification.scss @@ -88,7 +88,7 @@ aio-notification { } .search-results { - padding-top: 68px + $notificationHeight; + padding-top: $notificationHeight; } &.page-home, &.page-resources, &.page-events, &.page-features, &.page-presskit, &.page-contribute {