Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/components/_article.scss

Issue 29601607: Issue 5963 - Fix alignment of product icon next to article title on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: max-width: - 1 Created Nov. 10, 2017, 9:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/components/_article.scss
===================================================================
--- a/static/scss/components/_article.scss
+++ b/static/scss/components/_article.scss
@@ -31,16 +31,36 @@
.article-heading,
.article-browser-selector
{
padding-bottom: $md;
margin-bottom: $md;
border-bottom: 1px dotted $gray;
}
+.article-heading .has-pre-icon
+{
+ @media (max-width: $phablet-breakpoint - 1)
+ {
+ padding: 0;
+ }
+}
+
+.article-heading .pre-icon
+{
+ display: none;
+
+ @media (min-width: $phablet-breakpoint)
+ {
+ display: block;
+ top: 0.25em; // Align icon to first line of heading
+ margin-top: 0;
+ }
+}
+
.article-browser-selector
{
@extend .clearfix;
display: none;
}
.js .article-browser-selector
{
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld