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

Unified Diff: static/scss/components/_cards.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: Created May 16, 2017, 4:26 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/components/_cards.scss
===================================================================
--- a/static/scss/components/_cards.scss
+++ b/static/scss/components/_cards.scss
@@ -34,22 +34,29 @@
.card-icon
{
margin: $sm 0;
}
.center .card-icon
{
margin: $lg - $sm 0 $md 0;
juliandoucette 2017/05/16 19:07:34 Awesome! (NIT: No extra line breaks please.)
ire 2017/05/16 21:32:28 ACK
+
}
img.card-icon,
juliandoucette 2017/05/30 14:22:56 I don't think that these icons are too big on mobi
ire 2017/05/30 17:44:58 Acknowledged.
.card-icon img
{
height: 48px;
+
+ @media screen and (max-width: $tablet-breakpoint)
juliandoucette 2017/05/16 19:07:34 We have been restricting each file to one media qu
juliandoucette 2017/05/16 19:07:34 Why screen? This would be useful for print too?
ire 2017/05/16 21:32:27 Thanks! Yes I will.
ire 2017/05/16 21:32:28 Kind of a habit to write screen for most cases. Yo
juliandoucette 2017/05/17 13:09:11 Cool :) Can you [explain in markdown, upload expl
ire 2017/05/18 00:27:14 Sure. Do you mean as a separate codereview (i.e. a
+ {
+ height: 30px;
+ margin: $xs 0;
+ }
}
.card img.block
{
margin: 0;
}
.card-summary {

Powered by Google App Engine
This is Rietveld