Skip to content

Commit

Permalink
fix typewriter
Browse files Browse the repository at this point in the history
Closes #513
  • Loading branch information
mfix-stripe committed Jul 3, 2024
1 parent a5e393c commit c3f7966
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions components/Typewriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ export function Typewriter() {
</span>
<style jsx>
{`
.prefers-no-animation {
display: none;
}
h1 {
// Prevent page jump
height: calc(var(--line-height-jumbo) * 3);
Expand All @@ -151,12 +148,6 @@ export function Typewriter() {
height: unset;
overflow: initial;
}
.prefers-animation {
display: none;
}
.prefers-no-animation {
display: inline;
}
}
`}
</style>
Expand Down

0 comments on commit c3f7966

Please sign in to comment.