Retrospring/app/assets/stylesheets/components/_container.scss

8 lines
362 B
SCSS
Raw Normal View History

.container--main {
padding-top: map-get($spacers, 3);
padding-bottom: map-get($spacers, 3);
// Sass doesn't know about the safe-area-inset-* env vars and throws a syntax error
// We can get around this by using unquote()
padding-left: unquote('max(15px, env(safe-area-inset-left))');
padding-right: unquote('max(15px, env(safe-area-inset-right))');
}