Skip to content

Commit 96c8090

Browse files
committed
flex-shrink
1 parent 8e19e3e commit 96c8090

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

css-cookbook/sticky-footer-flexbox--download.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
.page-header,
2929
.page-footer {
3030
flex-grow: 0;
31+
flex-shrink: 0;
3132
}
3233

3334
.page-body {

css-cookbook/sticky-footer-flexbox.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
}
6464
.page-header, .page-footer {
6565
flex-grow: 0;
66+
flex-shrink: 0;
6667
}
6768
.page-body {
6869
flex-grow: 1;
@@ -97,6 +98,7 @@
9798
}
9899
.page-header, .page-footer {
99100
flex-grow: 0;
101+
flex-shrink: 0;
100102
}
101103
.page-body {
102104
flex-grow: 1;

0 commit comments

Comments
 (0)