Skip to content

Commit e422942

Browse files
committed
Use nesting for media query styles
See: #103606 (comment)
1 parent 65cb830 commit e422942

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

client/my-sites/plugins/marketplace-footer/styles.module.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
.marketplace-footer__cta {
1616
min-width: 122px;
1717
margin-bottom: 26px;
18-
}
1918

20-
@media ( max-width: 660px ) {
21-
.marketplace-footer__cta {
19+
@media ( max-width: 660px ) {
2220
margin-left: 16px;
2321
margin-right: 16px;
2422
}
@@ -28,10 +26,8 @@
2826
display: flex;
2927
flex-wrap: wrap;
3028
justify-content: space-between;
31-
}
3229

33-
@media ( max-width: 660px ) {
34-
.marketplace-footer__three-column {
30+
@media ( max-width: 660px ) {
3531
padding: 0 16px;
3632
}
3733
}

0 commit comments

Comments
 (0)