Skip to content

Commit 3e969ab

Browse files
adding overflow: auto to sticky footer examples to stop the preview content overflowing all over the code panes
1 parent 5859fc4 commit 3e969ab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

css-cookbook/sticky-footer-flexbox.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
.preview {
3131
height: 400px;
32+
overflow: auto;
3233
}
3334
</style>
3435

@@ -95,4 +96,4 @@
9596
</body>
9697
<script src="playable.js"></script>
9798

98-
</html>
99+
</html>

css-cookbook/sticky-footer.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
.preview {
2929
height: 400px;
30+
overflow: auto;
3031
}
3132
</style>
3233

@@ -75,4 +76,4 @@
7576
</body>
7677
<script src="playable.js"></script>
7778

78-
</html>
79+
</html>

0 commit comments

Comments
 (0)