From e85fa5d4ffaf3e839a2c8a5e02a0cb482c56e5ff Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Jul 2019 17:00:47 +0300 Subject: [PATCH] fix(docs-infra): fix layout of `file-not-found` page (#31390) The `.sidenav-content` element, [which is also][1] the `#file-not-found` element, [already has][2] the necessary padding. Especially the top padding is important to ensure the element is not obscured by the top-bar. [1]: https://github.com/angular/angular/blob/1d3e22766/aio/src/app/app.component.html#L51 [2]: https://github.com/angular/angular/blob/1d3e22766/aio/src/styles/1-layouts/_content-layout.scss#L10 PR Close #31390 --- aio/src/styles/1-layouts/_not-found.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aio/src/styles/1-layouts/_not-found.scss b/aio/src/styles/1-layouts/_not-found.scss index 10ab5679c4..667ca62c66 100644 --- a/aio/src/styles/1-layouts/_not-found.scss +++ b/aio/src/styles/1-layouts/_not-found.scss @@ -1,7 +1,3 @@ -#file-not-found { - padding: 3rem 3rem 3rem; -} - .nf-container { align-items: center; padding: 32px;