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 .cta`.

SiddharthVarshneyd8a3ca0b2e4f
diff --git a/static/styles/portico/landing-page.scss b/static/styles/portico/landing-page.scss
index e244dd10073..b9c18d7c7c4 100644
--- a/static/styles/portico/landing-page.scss
+++ b/static/styles/portico/landing-page.scss
@@ -633,18 +633,20 @@ nav {
}
}
-.portico-landing.features-app .cta::after {
- content: "\2192";
+.portico-landing.features-app .cta {
+ &::after {
+ content: "\2192";
- margin-left: 5px;
- transform: scaleX(2);
+ margin-left: 5px;
+ transform: scaleX(2);
- transition: all 0.3s ease;
-}
+ transition: all 0.3s ease;
+ }
-.portico-landing.features-app .cta:hover {
- &::after {
- margin-left: 10px;
+ &:hover {
+ &::after {
+ margin-left: 10px;
+ }
}
}