Skip to content

Commit

Permalink
Merge pull request #197 from HaloDAO/features/hdb-95-fix-font-size-in…
Browse files Browse the repository at this point in the history
…-pool-and-swap-pages

Fix font size in Swap and Pool page. Fix font customization in tailwind.
  • Loading branch information
tracyarciaga authored Apr 19, 2022
2 parents 5e4ae12 + 4037533 commit 3df7fd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Tailwind/Cards/StakeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const StakeCard = ({ title, value }: StakeCardProps) => {
return (
<div>
<div className="w-auto md:w-44 h-20 md:h-28 grid grid-cols-1 content-between border-2 border-link-alternate rounded-card bg-stakeCard">
<div className="md:bg-link-alternate font-extrabold tracking-widest uppercase text-xl md:text-9px text-link-alternate md:text-white md:text-center pl-3 md:pl-0 py-2 rounded-t-md">
<div className="md:bg-link-alternate font-extrabold tracking-widest uppercase text-xl md:text-9px text-link-alternate md:text-white md:text-center pl-3 md:pl-0 py-1 rounded-t-md">
{title}
</div>
<div className="text-base text-24px px-3 pb-2">{value}</div>
Expand Down
8 changes: 4 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module.exports = {
darkMode: false, // or 'media' or 'class'
important: true,
theme: {
fontSize: {
'9px': '9px',
'24px': '24px'
},
extend: {
fontSize: {
'9px': '9px',
'24px': '24px'
},
fontFamily: {
fredoka: ['Fredoka One', 'ui-serif']
},
Expand Down

0 comments on commit 3df7fd2

Please sign in to comment.