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: Rebase Created July 5, 2017, 9:19 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
@@ -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;
« 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