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
This commit is contained in:
George Kalpakas 2021-02-13 16:01:55 +02:00 committed by Joey Perrott
parent 93e2aea4bd
commit c98ab1f9e7
1 changed files with 1 additions and 1 deletions

View File

@ -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 {