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

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

Issue 29457564: Issue 4917 - Shrink space around accent section headings and content when section contains cards on… (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created June 6, 2017, 10:05 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
« no previous file with comments | « static/css/main.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/components/_groups.scss
===================================================================
--- a/static/scss/components/_groups.scss
+++ b/static/scss/components/_groups.scss
@@ -19,23 +19,34 @@
.group-container
{
width: 100%;
max-width: $max-width;
margin: 0 auto;
padding: $xl 0;
}
+.bg-accent .group-container
juliandoucette 2017/06/08 21:28:54 I'm guessing you applied this to `.bg-accent .grou
ire 2017/06/12 08:39:21 It looks like the `.group-container` has, so-far,
+{
+ padding: $md 0;
+}
+
.group-container > %headings,
.group-container > p
{
margin: $xl auto;
padding: 0 $sm;
}
+.bg-accent .group-container > %headings,
juliandoucette 2017/06/08 21:28:54 Note: I'd like to get away from using %headings be
ire 2017/06/12 08:39:21 I agree with you that this should be changed. But,
juliandoucette 2017/06/16 18:25:30 No objections. Please create the issue before mark
+.bg-accent .group-container > p
+{
+ margin: $md auto;
+}
+
.group
{
display: table;
width: 100%;
table-layout: fixed;
}
.group-container .group
« no previous file with comments | « static/css/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld