UNPKG

@bbc/psammead-styles

Version:

A collection of string constants for use in CSS, containing non-GEL styling details that are bespoke to specific BBC services and products.

18 lines (15 loc) 674 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.grid = void 0; /* eslint-disable import/prefer-default-export */ /* In an ideal world; this would just be `@supports (display: grid)`. * This is not an ideal world. This is a world where some mobile vendor forked * Firefox 48 which had WIP grid support disabled behind a feature flag, and * enabled the WIP grid support, which breaks our pages. * The `fit-content` CSS function did not land in Firefox until 51 (regardless * of feature flag settings) which enables us to better detect our fallback. */ var grid = 'grid-template-columns: fit-content(200px)'; exports.grid = grid;