Skip to content

Commit 79c51b1

Browse files
committed
Remove opinionated block size stretch on body
1 parent 776bd4d commit 79c51b1

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

evergreen.css

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,11 @@
4747
* ========================================================================== */
4848

4949
/**
50-
* 1. Fill the viewport block in all browsers (opinionated).
51-
* 2. Remove the margin in all browsers (opinionated).
50+
* Remove the margin in all browsers (opinionated).
5251
*/
5352

54-
:where(body) {
55-
block-size: -moz-available; /* 1 */
56-
block-size: -webkit-fill-available; /* 1 */
57-
block-size: stretch; /* 1 */
58-
margin: 0; /* 2 */
53+
:where(body) {
54+
margin: 0;
5955
}
6056

6157
/**

sanitize.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,11 @@
4747
* ========================================================================== */
4848

4949
/**
50-
* 1. Fill the viewport block in all browsers (opinionated).
51-
* 2. Remove the margin in all browsers (opinionated).
50+
* Remove the margin in all browsers (opinionated).
5251
*/
5352

5453
:where(body) {
55-
block-size: -moz-available; /* 1 */
56-
block-size: -webkit-fill-available; /* 1 */
57-
block-size: stretch; /* 1 */
58-
margin: 0; /* 2 */
54+
margin: 0;
5955
}
6056

6157
/**

0 commit comments

Comments
 (0)