Safari makes block height childbigger than Chrome.
I need to implement block behavior in Chrome and Safari.
Chrome padding affects child height. Filling in Safari amounts with height.
.body {
display: flex;
justify-content: flex-start;
flex-direction: column;
height: 100%;
}
.header {
height: 60px;
width: 100%;
}
.ctn {
height: 100%;
width: 100%;
padding-bottom: 80px;
}
.ctn__child {
min-width: 100%;
height: 100%;
}
https://jsfiddle.net/zqjpzLLb/
source
share