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