fix styles

This commit is contained in:
pompurin404 2024-09-21 22:08:29 +08:00
parent 8457b7bdd5
commit cce305e9bc
No known key found for this signature in database
3 changed files with 2 additions and 7 deletions

View File

@ -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>

View File

@ -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

View File

@ -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)
}} }}