Skip to content

Commit

Permalink
✨ (gdocs) add icon on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Jan 29, 2024
1 parent 57c8018 commit 7976a4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/gdocs/components/KeyIndicator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,10 @@
@include sm-up {
display: none;
}

svg {
font-size: 0.75rem;
margin-left: 8px;
}
}
}
3 changes: 3 additions & 0 deletions site/gdocs/components/KeyIndicator.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from "react"
import cx from "classnames"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome/index.js"
import { faArrowRight } from "@fortawesome/free-solid-svg-icons"

import {
EnrichedBlockKeyIndicator,
Expand Down Expand Up @@ -111,6 +113,7 @@ export default function KeyIndicator({
href={d.datapageUrl}
>
Explore and learn more about this data
<FontAwesomeIcon icon={faArrowRight} />
</a>
</div>
)
Expand Down

0 comments on commit 7976a4a

Please sign in to comment.