Index: static/scss/components/_groups.scss |
=================================================================== |
--- a/static/scss/components/_groups.scss |
+++ b/static/scss/components/_groups.scss |
@@ -17,40 +17,61 @@ |
// display like a table (even grid) |
.group-container |
{ |
width: 100%; |
max-width: $max-width; |
margin: 0 auto; |
padding: $xl 0; |
+ |
+ @media screen and (max-width: $desktop-breakpoint) |
juliandoucette
2017/05/30 14:22:57
Note: There was an inconsistent border-left on car
ire
2017/05/30 17:44:59
Okay. Do I need to apply those changes here, or wi
juliandoucette
2017/06/07 18:05:28
You can just pull and rebase if there is a conflic
|
+ { |
+ padding: $xs; |
+ } |
} |
.group-container > %headings, |
.group-container > p |
{ |
margin: $xl auto; |
padding: 0 $sm; |
} |
+ |
+.group-container > p |
juliandoucette
2017/05/30 14:22:57
Looks good on mobile, but not on desktop. I think
ire
2017/05/30 17:44:58
Acknowledged.
|
+{ |
+ @media screen and (max-width: $desktop-breakpoint) |
+ { |
+ margin: $md auto; |
+ } |
+} |
+ |
+ |
+ |
.group |
{ |
display: table; |
width: 100%; |
table-layout: fixed; |
} |
.group-container .group |
{ |
margin-bottom: 0; |
} |
.group-container > %headings |
{ |
margin-top: 0; |
+ |
+ @media screen and (max-width: $desktop-breakpoint) |
+ { |
+ margin: $md auto; |
+ } |
} |
.group .card, |
.group .item |
{ |
display: table-cell; |
vertical-align: top; |
} |