mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 11:42:19 +08:00
fix styles
This commit is contained in:
parent
eab55bc7dd
commit
48475fb0eb
|
@ -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' })
|
||||
}}
|
||||
|
@ -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' })
|
||||
}}
|
||||
|
|
|
@ -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' })
|
||||
}}
|
||||
|
@ -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' })
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user