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
8457b7bdd5
commit
cce305e9bc
|
@ -16,8 +16,8 @@ const SettingItem: React.FC<Props> = (props) => {
|
|||
<>
|
||||
<div className="h-[32px] w-full flex justify-between">
|
||||
<div className="h-full flex items-center">
|
||||
<h4 className="h-full text-md leading-[32px] whitespace-nowrap mr-2">{title}</h4>
|
||||
<div className="mr-2">{actions}</div>
|
||||
<h4 className="h-full text-md leading-[32px] whitespace-nowrap">{title}</h4>
|
||||
<div>{actions}</div>
|
||||
</div>
|
||||
{children}
|
||||
</div>
|
||||
|
|
|
@ -131,7 +131,6 @@ const GeneralConfig: React.FC = () => {
|
|||
title={type}
|
||||
isIconOnly
|
||||
size="sm"
|
||||
className="ml-2"
|
||||
variant="light"
|
||||
onPress={() => copyEnv(type)}
|
||||
>
|
||||
|
@ -230,7 +229,6 @@ const GeneralConfig: React.FC = () => {
|
|||
isIconOnly
|
||||
title="拉取主题"
|
||||
variant="light"
|
||||
className="ml-2"
|
||||
onPress={async () => {
|
||||
setFetching(true)
|
||||
try {
|
||||
|
@ -250,7 +248,6 @@ const GeneralConfig: React.FC = () => {
|
|||
isIconOnly
|
||||
title="导入主题"
|
||||
variant="light"
|
||||
className="ml-2"
|
||||
onPress={async () => {
|
||||
const files = await getFilePath(['css'])
|
||||
if (!files) return
|
||||
|
|
|
@ -81,7 +81,6 @@ const Mihomo: React.FC = () => {
|
|||
isIconOnly
|
||||
title="升级内核"
|
||||
variant="light"
|
||||
className="ml-2"
|
||||
isLoading={upgrading}
|
||||
onPress={async () => {
|
||||
try {
|
||||
|
@ -371,7 +370,6 @@ const Mihomo: React.FC = () => {
|
|||
size="sm"
|
||||
isIconOnly
|
||||
variant="light"
|
||||
className="ml-2"
|
||||
onPress={() => {
|
||||
setLanOpen(true)
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user