Skip to content

Commit

Permalink
Fluid type for home scroll text
Browse files Browse the repository at this point in the history
  • Loading branch information
dphfox committed Aug 30, 2024
1 parent a05e4bd commit fb30b94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/assets/theme/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,15 @@
align-items: center;
justify-content: center;

width: max-content;
width: 100%;
max-width: max-content;
padding: 0.5em;

animation: home-scroll-entry 0.5s ease 1s both;

background-color: var(--fusiondoc-bg-1);
font-weight: 700;
font-size: 1.25em;
font-size: calc(clamp(0.8em, 3vw, 1.25em));
overflow: hidden;
}

Expand Down

0 comments on commit fb30b94

Please sign in to comment.