From c704162800e1a8aa4f1af00fba03984745c972f4 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 18 Feb 2021 18:42:49 +0200 Subject: [PATCH] fix(docs-infra): use consistent padding in marketing pages (#40881) This commit makes the padding of the "Events", "Features" and "Press kit" pages consistent with that of other marketing pages. Before: ![presskit padding before][1] After: ![presskit padding after][2] [1]: https://user-images.githubusercontent.com/8604205/107986067-f8547800-6fd3-11eb-9164-51793e431d05.png [2]: https://user-images.githubusercontent.com/8604205/107986064-f7234b00-6fd3-11eb-9050-ed7ec04e7443.png PR Close #40881 --- aio/src/styles/1-layouts/_marketing-layout.scss | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/aio/src/styles/1-layouts/_marketing-layout.scss b/aio/src/styles/1-layouts/_marketing-layout.scss index 9749258ed9..23c27839f1 100644 --- a/aio/src/styles/1-layouts/_marketing-layout.scss +++ b/aio/src/styles/1-layouts/_marketing-layout.scss @@ -281,23 +281,20 @@ aio-shell { &.page-about, &.page-contribute, + &.page-events, + &.page-features, &.page-home, + &.page-presskit, &.page-resources { article { - padding: 32px; + padding: 3rem; @media (max-width: 800px) { - padding: 24px; + padding: 2.2rem; } } } - &.page-features, &.page-events { - article { - padding: 0 3rem; - } - } - &.page-home, &.page-resources, &.page-events, &.page-features { .content img {