Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Use SCSS nesting for `.portico-landing.features-app section.keyboard-shortcuts img`.

SiddharthVarshney621dd2a4455b
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index b0cba459a4e..a5947005179 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -452,11 +452,18 @@ nav {
color: hsl(219, 76%, 93%);
}
-.portico-landing.features-app section.keyboard-shortcuts img.overflow-wave {
- width: 685px;
- right: 0px;
- top: -168px;
- position: absolute;
+.portico-landing.features-app section.keyboard-shortcuts img {
+ &.overflow-wave {
+ width: 685px;
+ right: 0px;
+ top: -168px;
+ position: absolute;
+ }
+
+ &.image {
+ width: 600px;
+ margin-left: 100px;
+ }
}
.portico-landing.features-app section.keyboard-shortcuts h3 {
@@ -476,11 +483,6 @@ nav {
color: hsl(170, 52%, 70%);
}
-.portico-landing.features-app section.keyboard-shortcuts img.image {
- width: 600px;
- margin-left: 100px;
-}
-
.portico-landing.features-app section.messages {
display: flex;
justify-content: center;
@@ -3547,8 +3549,10 @@ nav {
margin: 10px 16px 0 16px;
}
- .portico-landing.features-app section.keyboard-shortcuts img.overflow-wave {
- top: -100px;
+ .portico-landing.features-app section.keyboard-shortcuts img {
+ &.overflow-wave {
+ top: -100px;
+ }
}
}
@@ -3719,21 +3723,27 @@ nav {
width: 323px;
}
- .portico-landing.features-app section.keyboard-shortcuts img.overflow-wave {
- top: -92px;
+ .portico-landing.features-app section.keyboard-shortcuts img {
+ &.overflow-wave {
+ top: -92px;
+ }
}
}
@media (max-width: 360px) {
- .portico-landing.features-app section.keyboard-shortcuts img.overflow-wave {
- top: -88px;
+ .portico-landing.features-app section.keyboard-shortcuts img {
+ &.overflow-wave {
+ top: -88px;
+ }
}
}
/* For iPhone 5/SE device */
@media (max-width: 320px) {
- .portico-landing.features-app section.keyboard-shortcuts img.overflow-wave {
- top: -78px;
+ .portico-landing.features-app section.keyboard-shortcuts img {
+ &.overflow-wave {
+ top: -78px;
+ }
}
}