Skip to content

Commit 19cb4e2

Browse files
committed
remove invalid css
1 parent 732e9b5 commit 19cb4e2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

home.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ mode: 'custom'
55
import { IntroCard } from '/snippets/card.mdx';
66

77
export function openSearch() {
8-
document.getElementById('search-bar-entry').click();
8+
if (typeof document !== 'undefined') {
9+
document.getElementById('search-bar-entry').click();
10+
}
911
}
1012

1113
<div className="relative w-full flex items-center justify-center" style={{ height: '28rem', overflow: 'hidden'}}>

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
}
66

77
.font-branded, h1, h2, h3 {
8-
font-family: "GraphikWide" !important;
8+
font-family: "GraphikWide";
99
letter-spacing: -1%;
1010
}
1111

0 commit comments

Comments
 (0)