feat(proxies): add subtle padding between title and footer

This commit is contained in:
kunish 2024-10-13 00:21:16 +08:00
parent 251adb4e0e
commit e7ef8b3735
No known key found for this signature in database
GPG Key ID: 67D3ACD788F3A7CD
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ export const ProxiesSettingsModal: Component<{
<div> <div>
<ConfigTitle withDivider>{t('renderInTwoColumns')}</ConfigTitle> <ConfigTitle withDivider>{t('renderInTwoColumns')}</ConfigTitle>
<div class="flex w-full justify-center"> <div class="flex w-full justify-center">
<input <input
class="toggle" class="toggle"

View File

@ -47,7 +47,7 @@ export const ProxyNodeCard = (props: {
title={proxyName} title={proxyName}
> >
<Tooltip.Trigger> <Tooltip.Trigger>
<div class="card-body p-2.5" onClick={onClick}> <div class="card-body space-y-1 p-2.5" onClick={onClick}>
<h2 class="card-title line-clamp-1 text-start text-sm"> <h2 class="card-title line-clamp-1 text-start text-sm">
{proxyName} {proxyName}
</h2> </h2>