UNPKG

@shopgate/engage

Version:
14 lines 445 B
import { css } from 'glamor'; import { themeConfig } from '@shopgate/pwa-common/helpers/config'; import { responsiveMediaQuery } from '@shopgate/engage/styles'; const { variables } = themeConfig; export const sheet = css({ maxHeight: `calc(var(--vh-100, 100vh) - ${variables.navigator.height}px)`, [responsiveMediaQuery('>sm', { webOnly: true })]: { maxHeight: `calc(var(--vh-80, 80vh) - ${variables.navigator.height}px)` } });