chore: 🤖 Update stylelint config dependency (#2000)

* chore: 🤖 Update dependency

Updated `styelint-config-standard-scss` to fix incorrect peer dependency
warning for `styelint`

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818

* Update _notify.scss

remove test for media query

* refactor: 💡 refactor media queries

Refactor all media queries to include `context` notation.

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11818
This commit is contained in:
Devon Anderson authored and GitHub committed 2023-11-22 15:42:24 -05:00
1 parent bcf004b8a4
commit 019b3e7390
15 files changed
+51 -45

No files matched your search

@@ -16,7 +16,7 @@
width: sizing.rems(l) * 15; // 16 rems/320 px
margin-bottom: sizing.rems(l);
@media (max-width: media.width(small)) {
@media (width <= (media.width(small))) {
width: auto;
}
@@ -131,7 +131,7 @@ $xxxxs: sizing.rems(xxxxs); // 1
max-width: 80vw;
width: 650px;
@media (max-width: media.width(small)) {
@media (width <= (media.width(small))) {
left: 5%;
}
@@ -36,7 +36,7 @@
box-shadow: var(--box-shadow);
}
@media (max-width: media.width(small)) {
@media (width <= (media.width(small))) {
.rose-header {
grid-template-columns: 1fr 3fr;
grid-template-areas:
@@ -13,7 +13,7 @@
align-items: center;
margin-right: sizing.rems(s);
@media (max-width: media.width(small)) {
@media (width <= (media.width(small))) {
padding: 0 20px;
background: var(--ui-header-subtler);
}
@@ -21,7 +21,7 @@
}
}
@media (max-width: media.width(xlarge)) {
@media (width <= (media.width(xlarge))) {
.rose-layout-body-content {
grid-template-areas:
'body'
@@ -41,7 +41,7 @@
}
}
@media (max-width: media.width(small)) {
@media (width <= (media.width(small))) {
.rose-layout-page {
grid-template-columns: 1fr;
grid-template-areas:
@@ -35,7 +35,7 @@
}
}
@media (max-width: media.width(medium)) {
@media (width <= (media.width(medium))) {
.rose-layout-sidebar {
grid-template-columns: 1fr;
grid-template-rows: auto 1fr auto;
+1 -1
View File
@@ -96,7 +96,7 @@
"react-syntax-highlighter": "^15.5.0",
"stylelint": "^15.10.1",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^6.0.0",
"stylelint-config-standard-scss": "^11.0.0",
"webpack": "^5.78.0"
},
"peerDependencies": {