Skip to content

Commit

Permalink
tweak sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrir committed Oct 28, 2024
1 parent 038aa0f commit 526af71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/graphs/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const LineChart = ({ onlineFondet, osebx }: Props) => {
<button
key={range}
onClick={() => setSelectedRange(range as keyof typeof timeRanges)}
className={`px-4 py-2 rounded text-gray-200 border border-gray-700 w-28 ${
className={`px-4 py-2 rounded text-gray-200 border border-gray-700 w-full sm:w-28 ${
selectedRange === range ? 'bg-blue-700' : 'bg-gray-900'
}`}
>
Expand All @@ -175,7 +175,7 @@ const LineChart = ({ onlineFondet, osebx }: Props) => {
<button
key={range}
onClick={() => setSelectedRange(range as keyof typeof timeRanges)}
className={`px-4 py-2 rounded text-gray-200 border border-gray-700 w-28 ${
className={`px-4 py-2 rounded text-gray-200 border border-gray-700 w-full sm:w-28 ${
selectedRange === range ? 'bg-blue-700' : 'bg-gray-900'
}`}
>
Expand Down

0 comments on commit 526af71

Please sign in to comment.