From 862fe8271231ba5b1f5e7929033981a113a6fde8 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Feb 2021 12:49:07 +0200 Subject: [PATCH] refactor(docs-infra): scope Resources styles to the `` element (#40704) This commit ensures that all styles for the "Resources" page (which are defined in `_resources.scss`) only apply to elements inside an `` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704 --- aio/src/styles/2-modules/_resources.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/aio/src/styles/2-modules/_resources.scss b/aio/src/styles/2-modules/_resources.scss index a94753b205..d7dad6bb49 100644 --- a/aio/src/styles/2-modules/_resources.scss +++ b/aio/src/styles/2-modules/_resources.scss @@ -1,9 +1,8 @@ -.resources-container { - position: relative; -} - - aio-resource-list { + .resources-container { + position: relative; + } + .shadow-1 { transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 1px 4px 0 rgba($black, 0.37);