Skip to content

Commit 6c463ac

Browse files
committed
Fixed another footer bug
1 parent 85e1dee commit 6c463ac

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/experimental/containers/Footer/Footer.components.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,18 @@ export const Copyright = styled(FooterContainer)`
113113
}
114114
`;
115115

116+
const ComicSansText = styled.span`
117+
cursor: pointer;
118+
`;
119+
const ComicSansCSS = createGlobalStyle`
120+
html * {
121+
font-family: "Comic Sans MS" !important;
122+
}
123+
`;
124+
116125
export const ComicSans: React.FC<ComicSansProps> = ({ children }) => {
117126
const [showComicSans, setShowComicSans] = useState(false);
118127
const switchComicSans = () => setShowComicSans(!showComicSans);
119-
const ComicSansText = styled.span`
120-
cursor: pointer;
121-
`;
122-
const ComicSansCSS = createGlobalStyle`
123-
html * {
124-
font-family: "Comic Sans MS" !important;
125-
}
126-
`;
127128

128129
return (
129130
<>

0 commit comments

Comments
 (0)