feat: enhance reply display toggle with hover effects
This commit is contained in:
parent
38d1ad9590
commit
f91a6545a1
1 changed files with 2 additions and 2 deletions
|
|
@ -170,13 +170,13 @@ function DisplayRepliesSwitch({
|
||||||
<div>
|
<div>
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<div
|
<div
|
||||||
className={`w-1/2 text-center py-2 font-semibold ${displayReplies ? 'text-muted-foreground' : ''}`}
|
className={`w-1/2 text-center py-2 font-semibold hover:bg-muted cursor-pointer rounded-lg ${displayReplies ? 'text-muted-foreground' : ''}`}
|
||||||
onClick={() => setDisplayReplies(false)}
|
onClick={() => setDisplayReplies(false)}
|
||||||
>
|
>
|
||||||
{t('Notes')}
|
{t('Notes')}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={`w-1/2 text-center py-2 font-semibold ${displayReplies ? '' : 'text-muted-foreground'}`}
|
className={`w-1/2 text-center py-2 font-semibold hover:bg-muted cursor-pointer rounded-lg ${displayReplies ? '' : 'text-muted-foreground'}`}
|
||||||
onClick={() => setDisplayReplies(true)}
|
onClick={() => setDisplayReplies(true)}
|
||||||
>
|
>
|
||||||
{t('Notes & Replies')}
|
{t('Notes & Replies')}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue