mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +08:00
fix styles
This commit is contained in:
parent
eab55bc7dd
commit
48475fb0eb
|
@ -248,7 +248,7 @@ const ProfileItem: React.FC<Props> = (props) => {
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
className="h-[20px] p-1 m-0"
|
className={`h-[20px] p-1 m-0 ${isCurrent ? 'text-primary-foreground' : 'text-foreground'}`}
|
||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
await patchAppConfig({ profileDisplayDate: 'update' })
|
await patchAppConfig({ profileDisplayDate: 'update' })
|
||||||
}}
|
}}
|
||||||
|
@ -259,7 +259,7 @@ const ProfileItem: React.FC<Props> = (props) => {
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
className="h-[20px] p-1 m-0"
|
className={`h-[20px] p-1 m-0 ${isCurrent ? 'text-primary-foreground' : 'text-foreground'}`}
|
||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
await patchAppConfig({ profileDisplayDate: 'expire' })
|
await patchAppConfig({ profileDisplayDate: 'expire' })
|
||||||
}}
|
}}
|
||||||
|
|
|
@ -125,7 +125,7 @@ const ProfileCard: React.FC = () => {
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
className="h-[20px] p-1 m-0"
|
className={`h-[20px] p-1 m-0 ${match ? 'text-primary-foreground' : 'text-foreground'}`}
|
||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
await patchAppConfig({ profileDisplayDate: 'update' })
|
await patchAppConfig({ profileDisplayDate: 'update' })
|
||||||
}}
|
}}
|
||||||
|
@ -136,7 +136,7 @@ const ProfileCard: React.FC = () => {
|
||||||
<Button
|
<Button
|
||||||
size="sm"
|
size="sm"
|
||||||
variant="light"
|
variant="light"
|
||||||
className="h-[20px] p-1 m-0"
|
className={`h-[20px] p-1 m-0 ${match ? 'text-primary-foreground' : 'text-foreground'}`}
|
||||||
onPress={async () => {
|
onPress={async () => {
|
||||||
await patchAppConfig({ profileDisplayDate: 'expire' })
|
await patchAppConfig({ profileDisplayDate: 'expire' })
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user