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

View File

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

View File

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