Skip to content

Commit

Permalink
More responsive!
Browse files Browse the repository at this point in the history
  • Loading branch information
woldham-mgs committed Nov 27, 2024
1 parent f9196c0 commit cd234c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/FootnoteRef.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Props = {
<div id=`footnote-${Astro.props.num}` class="group">
<div
class="flex space-x-1 w-max group-target:bg-yellow-200 px-2 py-1 bg-inherit transition-colors duration-250"
class="flex space-x-1 max-w-lg group-target:bg-yellow-200 px-2 py-1 bg-inherit transition-colors duration-250"
>
<FootnoteNum num={Astro.props.num} />
<span class="whitespace-pre-wrap">
Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ const currentDateTime = formatDate(new Date())
<FootnoteRef num={2}>MC: Metacritic</FootnoteRef>
<FootnoteRef num={3}>TMDB: The Movie Database</FootnoteRef>
<FootnoteRef num={4}
>The average of the Rotten Tomatoes (Scaled to 0-10), Metacritic,
and TMDB audience scores. Missing values are excluded</FootnoteRef
>The average of the Rotten Tomatoes (Scaled to 0-10), Metacritic, and TMDB audience scores. Missing values are excluded</FootnoteRef
>
</div>
</div>
Expand Down

0 comments on commit cd234c5

Please sign in to comment.