fix: css variable fallback
This commit is contained in:
@@ -163,7 +163,7 @@ $footer-height: 2rem;
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
height: calc(var(--viewport-height) - #{$footer-height});
|
height: calc(var(--viewport-height, 100vh) - #{$footer-height});
|
||||||
}
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
|
|||||||
@@ -47,16 +47,16 @@ module.exports = {
|
|||||||
125: '31.25rem',
|
125: '31.25rem',
|
||||||
},
|
},
|
||||||
height: {
|
height: {
|
||||||
screen: 'var(--viewport-height)',
|
screen: 'var(--viewport-height, 100vh)',
|
||||||
},
|
},
|
||||||
minHeight: {
|
minHeight: {
|
||||||
1: '0.25rem',
|
1: '0.25rem',
|
||||||
2: '0.5rem',
|
2: '0.5rem',
|
||||||
screen: 'var(--viewport-height)',
|
screen: 'var(--viewport-height, 100vh)',
|
||||||
},
|
},
|
||||||
maxHeight: {
|
maxHeight: {
|
||||||
110: '27.5rem',
|
110: '27.5rem',
|
||||||
screen: 'var(--viewport-height)',
|
screen: 'var(--viewport-height, 100vh)',
|
||||||
},
|
},
|
||||||
zIndex: {
|
zIndex: {
|
||||||
'editor-content': 'var(--z-index-editor-content)',
|
'editor-content': 'var(--z-index-editor-content)',
|
||||||
|
|||||||
Reference in New Issue
Block a user