Skip to content

fix(stat): add fixed font-size for stat-title#137

Open
michaelcozzolino wants to merge 1 commit intothemeselection:mainfrom
michaelcozzolino:fix/stat-title-size-not-fixed
Open

fix(stat): add fixed font-size for stat-title#137
michaelcozzolino wants to merge 1 commit intothemeselection:mainfrom
michaelcozzolino:fix/stat-title-size-not-fixed

Conversation

@michaelcozzolino
Copy link
Contributor

Although I don't have access to the figma files I suppose the font size of the stat title must be fixed and I encountered that, if we add a custom font size to the parent element also the stat title size changes:

<div class="stats text-3xl">
  <div class="stat">
    <div class="stat-title">Total Emails Sent</div>
    <div class="stat-value">76,250</div>
    <div class="stat-desc">18% more than last month</div>
  </div>
</div>
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant