Remove all grid-row Sass rules
We were using these rules in order to set the maximum width of an element to `$global-width`. However, since we now do so in the <body> element, there's no need to apply these rules to "rows". Note we're adding `overflow: hidden` to the budget subheader. That's because it only contains `float` element inside, and we're now missing the `.row::before` and `.row::after` rules which make sure float elements are rendered properly.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.investments-list {
|
||||
@include flex-grid-row;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: $line-height;
|
||||
|
||||
> header {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
$border-width: 4px;
|
||||
|
||||
> * {
|
||||
@include grid-row;
|
||||
@include grid-column-gutter;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.budget-subheader {
|
||||
@include grid-row;
|
||||
margin-bottom: $line-height;
|
||||
margin-top: $line-height;
|
||||
overflow: hidden;
|
||||
|
||||
.current-phase {
|
||||
text-transform: uppercase;
|
||||
|
||||
Reference in New Issue
Block a user