0001-scss-don-t-cumulate-form-gutters-26806.patch
static/includes/_grid.scss | ||
---|---|---|
12 | 12 |
div[class*=grid-] { |
13 | 13 |
float: left; |
14 | 14 |
box-sizing: border-box; |
15 |
padding-right: 1em;
|
|
15 |
padding-right: $grid-gutter;
|
|
16 | 16 |
@media screen and (max-width: $very-small-limit) { |
17 | 17 |
width: 100%; |
18 | 18 |
padding-right: 0; |
... | ... | |
30 | 30 | |
31 | 31 |
div.dataview div[class*=grid-], |
32 | 32 |
form div[class*=grid-] { |
33 |
@if $grid-gutter != 0px { |
|
34 |
box-sizing: content-box; |
|
35 |
} @else { |
|
36 |
padding-right: 1rem; // force gutter for form fields |
|
37 |
} |
|
33 | 38 |
+ h3, + h4 { |
34 | 39 |
// give additional padding to compensate the margin being |
35 | 40 |
// "absorbed" by the floating element. |
36 |
- |