Skip to content

Commit

Permalink
Merge pull request #5 from go-vela/fix/icon-resizing
Browse files Browse the repository at this point in the history
fix: preload icon css to fix resizing bug
  • Loading branch information
KillEdgier authored Dec 16, 2024
2 parents 4ee161d + 071d581 commit c4bcf25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';

import '@fortawesome/fontawesome-svg-core/styles.css';
import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false;

function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
Expand Down

0 comments on commit c4bcf25

Please sign in to comment.