Skip to content

Commit e41797e

Browse files
committed
Add margin fallbacks for IE11
1 parent 68f0b81 commit e41797e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

elements/pfe-band/src/pfe-band.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ $LOCAL: band;
101101

102102
.pfe-band__body {
103103
display: block;
104+
margin-bottom: #{pfe-local(gutter--vertical)};
104105
}
105106
.pfe-band__header,
106107
.pfe-band__aside,
107108
.pfe-band__footer {
108109
display: flex;
109110
flex-flow: column nowrap;
110111
align-items: flex-start;
112+
margin-bottom: #{pfe-local(gutter--vertical)};
111113
}
112114

113115
@supports (display: grid) {
@@ -117,6 +119,7 @@ $LOCAL: band;
117119
display: grid;
118120
grid-row-gap: var(--pfe-band--gutter--vertical);
119121
grid-column-gap: var(--pfe-band--gutter--horizontal);
122+
margin-bottom: 0;
120123
}
121124
.pfe-band__header {
122125
grid-area: header;
@@ -132,7 +135,7 @@ $LOCAL: band;
132135
}
133136
.pfe-band__body {
134137
grid-area: body;
135-
grid-template-columns: var(--pfe-band__body--layout);
138+
margin-bottom: 0;
136139
}
137140
}
138141

0 commit comments

Comments
 (0)