Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const top = script => `
// place at middle of text line height
top: ${halfLineHeightRem(script.doublePica.groupA)}rem;
${MEDIA_QUERY_TYPOGRAPHY.SMART_PHONE_ONLY} {
top: ${halfLineHeightRem(script.doublePica.groupB)}rem;
}
${MEDIA_QUERY_TYPOGRAPHY.LAPTOP_AND_LARGER} {
top: ${halfLineHeightRem(script.doublePica.groupD)}rem;
}
`;