Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Oct 11, 2024
1 parent eab55bc commit 48475fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/components/profiles/profile-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const ProfileItem: React.FC<Props> = (props) => {
<Button
size="sm"
variant="light"
className="h-[20px] p-1 m-0"
className={`h-[20px] p-1 m-0 ${isCurrent ? 'text-primary-foreground' : 'text-foreground'}`}
onPress={async () => {
await patchAppConfig({ profileDisplayDate: 'update' })
}}
Expand All @@ -259,7 +259,7 @@ const ProfileItem: React.FC<Props> = (props) => {
<Button
size="sm"
variant="light"
className="h-[20px] p-1 m-0"
className={`h-[20px] p-1 m-0 ${isCurrent ? 'text-primary-foreground' : 'text-foreground'}`}
onPress={async () => {
await patchAppConfig({ profileDisplayDate: 'expire' })
}}
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/sider/profile-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const ProfileCard: React.FC = () => {
<Button
size="sm"
variant="light"
className="h-[20px] p-1 m-0"
className={`h-[20px] p-1 m-0 ${match ? 'text-primary-foreground' : 'text-foreground'}`}
onPress={async () => {
await patchAppConfig({ profileDisplayDate: 'update' })
}}
Expand All @@ -136,7 +136,7 @@ const ProfileCard: React.FC = () => {
<Button
size="sm"
variant="light"
className="h-[20px] p-1 m-0"
className={`h-[20px] p-1 m-0 ${match ? 'text-primary-foreground' : 'text-foreground'}`}
onPress={async () => {
await patchAppConfig({ profileDisplayDate: 'expire' })
}}
Expand Down

0 comments on commit 48475fb

Please sign in to comment.