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

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

Issue 29453600: Issue 4961 - Fix card group field alignment on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Minor fixes Created July 20, 2017, 5:42 p.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 | « static/scss/_variables.scss ('k') | static/scss/components/_groups.scss » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/components/_cards.scss
===================================================================
--- a/static/scss/components/_cards.scss
+++ b/static/scss/components/_cards.scss
@@ -31,16 +31,26 @@
margin: $sm 0 $sm 0;
@media (max-width: $mobile-breakpoint)
{
height: auto;
}
}
+.card article .card-heading
+{
+ height: auto;
+
+ @media (min-width: $tablet-breakpoint)
+ {
+ height: 120px;
+ }
+}
+
.card-icon
{
margin: $sm 0;
}
.center .card-icon
{
margin: $lg - $sm 0 $md 0;
« no previous file with comments | « static/scss/_variables.scss ('k') | static/scss/components/_groups.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld