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: Implement .cards class, Fix alignment inn group-5, Minor fixes Created June 21, 2017, 7:41 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
@@ -26,16 +26,26 @@
.card %headings
{
@extend h3;
height: $md + $sm;
margin: $sm 0 $sm 0;
}
+.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;

Powered by Google App Engine
This is Rietveld