Skip to content

Commit

Permalink
reduce font size data item in landing
Browse files Browse the repository at this point in the history
  • Loading branch information
cookspam committed Sep 9, 2024
1 parent 1428089 commit ed0e9bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/landing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ fn DataItem(cx: Scope, title: String, value: String) -> Element {

// Value with responsive font size and some margin-bottom for spacing
p {
class: "text-base sm:text-xl mb-2", // Adjusted font size for value, with margin-bottom
class: "text-sm sm:text-xl md:text-xl mb-2", // Adjusted font size for value, with margin-bottom
"{value}"
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/leaderboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ pub fn SupplyStats(cx: Scope) -> Element {
// Right section: Transaction count chart
div {
// Conditionally apply gap-48 or gap-24 based on whether the alert banner is shown
class: "w-full md:w-3/5 flex flex-col gap-48 md:gap-24 border p-8 border-teal-500 rounded-lg", // Right side takes full width on small, 3/5 on larger screens",
class: "w-full md:w-3/5 flex flex-col gap-48 border p-8 border-teal-500 rounded-lg", // Right side takes full width on small, 3/5 on larger screens",
// Upper section with total transaction and dropdown
div {
class: "flex justify-between h-1/10",
Expand Down

0 comments on commit ed0e9bd

Please sign in to comment.