From becb8e751e56dafa908b782360f83cbeac0eb637 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Feb 2021 12:49:05 +0200 Subject: [PATCH] refactor(docs-infra): merge style rules in `_presskit.scss` (#40704) This commit cleans up the styles in `_presskit.scss` by merging together blocks that target the same elements. PR Close #40704 --- aio/src/styles/2-modules/_presskit.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/aio/src/styles/2-modules/_presskit.scss b/aio/src/styles/2-modules/_presskit.scss index 88921249ce..6bd442c5ce 100644 --- a/aio/src/styles/2-modules/_presskit.scss +++ b/aio/src/styles/2-modules/_presskit.scss @@ -61,7 +61,6 @@ } .presskit-image-container { - @media(max-width: 599px) { text-align: center; } @@ -72,13 +71,13 @@ margin-bottom: 8px * 2; } } - } - .presskit-row:first-child { - margin-top: 0; + &:first-child { + margin-top: 0; - @media(max-width: 599px) { - margin-top: 48px; + @media(max-width: 599px) { + margin-top: 48px; + } } } }