Skip to content

Commit

Permalink
Merge pull request #638 from threshold-network/feature/tbtc-explorer-…
Browse files Browse the repository at this point in the history
…card-font-size

Adjust font size for tBTC TVL value

Adjusted font size for tBTC TVL value:

- base: from 32px to 48px accordingly to the viewport width (8 units)
- xl: 60px - as is currently
  • Loading branch information
michalsmiarowski authored Oct 25, 2023
2 parents b24fdc3 + 05948f4 commit 39a0be6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/tBTC/Explorer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,14 @@ export const ExplorerPage: PageComponent = () => {
</Flex>
<Divider my="8" />
<Flex direction={{ base: "column", xl: "row" }} alignItems="center">
<H1>{formatFiatCurrencyAmount(tvlInUSD.tBTC, "0,00.00")} USD</H1>
<H1
fontSize={{
base: "clamp(24px, 8vw, 48px)",
xl: "60px",
}}
>
{formatFiatCurrencyAmount(tvlInUSD.tBTC, "0,00.00")} USD
</H1>
<ButtonLink
size="lg"
variant="outline"
Expand Down

0 comments on commit 39a0be6

Please sign in to comment.