GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): usage chart bars round at the top instead of the bottom … · pingdotgg/t3code@417bc79

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/mobile/src/features/usage
    • UsageDailyChart.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/features/usage/UsageDailyChart.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/usage/UsageDailyChart.tsx
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ export function UsageDailyChart({ days, daily, metric, height }: UsageDailyChart
2121
<View style={{ height }} className="flex-row items-end gap-px">
2222
{/* Use column-reverse: provider values are bottom-first and Hermes lacks toReversed. */}
2323
{chartDays.map((day) => (
24-
<View key={day.day} className="h-full flex-1 flex-col-reverse overflow-hidden rounded-sm">
24+
<View
25+
key={day.day}
26+
style={{ height: max === 0 ? 0 : (day.total / max) * height }}
27+
className="flex-1 flex-col-reverse overflow-hidden rounded-t-sm"
28+
>
2529
{day.values.map((entry) => (
2630
<View
2731
key={entry.provider}

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.