fix: build errors in docs (#204)
This commit is contained in:
parent
2cb708c63b
commit
143ba75604
18 changed files with 153 additions and 145 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export function remToPx(remValue) {
|
||||
let rootFontSize =
|
||||
const rootFontSize =
|
||||
typeof window === 'undefined'
|
||||
? 16
|
||||
: parseFloat(window.getComputedStyle(document.documentElement).fontSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue