Skip to content

Commit

Permalink
Merge pull request #8 from rosset-nocpes/patch-2
Browse files Browse the repository at this point in the history
make watchButtons slightly bigger
  • Loading branch information
olexh authored May 4, 2024
2 parents da0f5dd + f309ad2 commit 9f22d21
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use client';

import React from 'react';
import MaterialSymbolsAddRounded from '~icons/material-symbols/add-rounded';
import MaterialSymbolsRemoveRounded from '~icons/material-symbols/remove-rounded';

import { useParams } from 'next/navigation';

Expand All @@ -13,7 +15,6 @@ import useAnimeInfo from '@/services/hooks/anime/useAnimeInfo';
import useAddWatch from '@/services/hooks/watch/useAddWatch';
import useWatch from '@/services/hooks/watch/useWatch';


const WatchStats = () => {
const params = useParams();

Expand Down Expand Up @@ -91,25 +92,25 @@ const WatchStats = () => {
</div>
<div className="rounded-lg border border-secondary/60 bg-secondary/30 p-4">
<div className="flex justify-between gap-2 overflow-hidden">
<Label className="min-h-[24px] overflow-hidden text-ellipsis">
<Label className="min-h-[24px] self-center overflow-hidden text-ellipsis">
Епізоди
</Label>
<div className="inline-flex">
<Button
variant="secondary"
size="icon-xs"
size="icon-sm"
className="rounded-r-none"
onClick={() => changeEpisodes('decrease')}
>
-
<MaterialSymbolsRemoveRounded />
</Button>
<Button
variant="secondary"
size="icon-xs"
size="icon-sm"
className="rounded-l-none"
onClick={() => changeEpisodes('increase')}
>
+
<MaterialSymbolsAddRounded />
</Button>
</div>
</div>
Expand Down

0 comments on commit 9f22d21

Please sign in to comment.