@shopgate/engage
Version:
Shopgate's ENGAGE library.
14 lines • 445 B
JavaScript
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)`
}
});