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

Unified Diff: static/scss/content/_reset.scss

Issue 29438582: Issue 5135 - Reduce font size and padding on smaller screens on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Refactor and use .section Created July 5, 2017, 10:52 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
Index: static/scss/content/_reset.scss
===================================================================
--- a/static/scss/content/_reset.scss
+++ b/static/scss/content/_reset.scss
@@ -81,25 +81,28 @@
// Remove image borders in IE<10
a, img
{
border:none;
outline:none;
}
-h2 + .row,
juliandoucette 2017/07/05 13:28:33 I was wondering why there was less spacing after h
ire 2017/07/06 10:31:37 I've added this style back.
-h1 + .row,
-h2 + hr + .row,
-h1 + hr + .row
-{
- margin-top: -$sm;
-}
.section
{
- margin: $xl 0;
+ margin-bottom: $xl;
+
+ @media (max-width: $tablet-breakpoint)
+ {
+ margin-bottom: $md;
+ }
}
.section .section
{
- margin: $lg 0;
+ margin-bottom: $lg;
+
+ @media (max-width: $tablet-breakpoint)
+ {
+ margin-bottom: $md;
+ }
}

Powered by Google App Engine
This is Rietveld