refactor(docs-infra): scope Resources styles to the `<aio-resource-list>` element (#40704)
This commit ensures that all styles for the "Resources" page (which are defined in `_resources.scss`) only apply to elements inside an `<aio-resource-list>` element. This will prevent the styles accidentally taking effect on a different part of the app. PR Close #40704
This commit is contained in:
parent
f1c7d2b865
commit
862fe82712
|
@ -1,9 +1,8 @@
|
||||||
.resources-container {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
aio-resource-list {
|
aio-resource-list {
|
||||||
|
.resources-container {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.shadow-1 {
|
.shadow-1 {
|
||||||
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
box-shadow: 0 1px 4px 0 rgba($black, 0.37);
|
box-shadow: 0 1px 4px 0 rgba($black, 0.37);
|
||||||
|
|
Loading…
Reference in New Issue