@ndla/core
Advanced tools
Comparing version 4.2.4 to 4.2.5
@@ -12,3 +12,3 @@ var baseFontSizeUnit = 18; | ||
var fontSizeStyling = "font-size: ".concat(fontSize, ";font-size: ").concat(fontSizeRem, "rem;"); | ||
var chineseStyling = "&[lang='zh'], &[lang='zh-Hans'], &[lang='zh-Hant'] {font-size: calc(".concat(fontSize, " * 1.11); font-size: calc(").concat(fontSizeRem, "rem * 1.11)}"); | ||
var chineseStyling = "&:where([lang='zh'], &[lang='zh-Hans'], &[lang='zh-Hant']):not([data-pinyin]) {font-size: calc(".concat(fontSize, " * 1.11); font-size: calc(").concat(fontSizeRem, "rem * 1.11)}"); | ||
return "".concat(fontSizeStyling, " line-height: ").concat(_lineHeight, "; ").concat(chineseStyling); | ||
@@ -15,0 +15,0 @@ } |
@@ -18,3 +18,3 @@ "use strict"; | ||
var fontSizeStyling = "font-size: ".concat(fontSize, ";font-size: ").concat(fontSizeRem, "rem;"); | ||
var chineseStyling = "&[lang='zh'], &[lang='zh-Hans'], &[lang='zh-Hant'] {font-size: calc(".concat(fontSize, " * 1.11); font-size: calc(").concat(fontSizeRem, "rem * 1.11)}"); | ||
var chineseStyling = "&:where([lang='zh'], &[lang='zh-Hans'], &[lang='zh-Hant']):not([data-pinyin]) {font-size: calc(".concat(fontSize, " * 1.11); font-size: calc(").concat(fontSizeRem, "rem * 1.11)}"); | ||
return "".concat(fontSizeStyling, " line-height: ").concat(_lineHeight, "; ").concat(chineseStyling); | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@ndla/core", | ||
"version": "4.2.4", | ||
"version": "4.2.5", | ||
"description": "UI component library for NDLA.", | ||
@@ -40,3 +40,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "613a1b7bd697142fdcee7cca42c743f4c2431a40" | ||
"gitHead": "7b7ae968b766e37ae17f3917e2c051a22d2eb4e5" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118108