unified style

This commit is contained in:
pompurin404 2024-08-07 19:56:29 +08:00
parent 586e2f6672
commit 80020eadc8
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View File

@ -133,9 +133,9 @@ const DNS: React.FC = () => {
/>
</SettingItem>
<div className="flex flex-col items-stretch">
<h3 className="select-none mb-2">IP回应</h3>
<h3 className="select-none">IP回应</h3>
{[...values.fakeIPFilter, ''].map((ns, index) => (
<div key={index} className="mb-2 flex">
<div key={index} className="mt-2 flex">
<Input
fullWidth
size="sm"
@ -157,7 +157,7 @@ const DNS: React.FC = () => {
</div>
))}
</div>
<Divider style={{ marginTop: '2px', marginBottom: '6px' }} />
<Divider className="my-2" />
</>
) : null}
<SettingItem title="IPv6" divider>
@ -170,9 +170,9 @@ const DNS: React.FC = () => {
/>
</SettingItem>
<div className="flex flex-col items-stretch">
<h3 className="select-none mb-2">DNS服务器</h3>
<h3 className="select-none">DNS服务器</h3>
{[...values.nameserver, ''].map((ns, index) => (
<div key={index} className="mb-2 flex">
<div key={index} className="mt-2 flex">
<Input
fullWidth
size="sm"
@ -194,7 +194,7 @@ const DNS: React.FC = () => {
</div>
))}
</div>
<Divider style={{ marginTop: '2px', marginBottom: '6px' }} />
<Divider className="my-2" />
<SettingItem title="使用系统hosts" divider>
<Switch
size="sm"

View File

@ -141,9 +141,9 @@ const Sniffer: React.FC = () => {
/>
</SettingItem>
<div className="flex flex-col items-stretch">
<h3 className="select-none mb-2"></h3>
<h3 className="select-none"></h3>
{[...values.skipDomain, ''].map((d, index) => (
<div key={index} className="flex mb-2">
<div key={index} className="flex mt-2">
<Input
size="sm"
fullWidth
@ -165,7 +165,7 @@ const Sniffer: React.FC = () => {
</div>
))}
</div>
<Divider style={{ marginTop: '2px', marginBottom: '6px' }} />
<Divider className="my-2" />
<div className="flex flex-col items-stretch">
<h3 className="select-none mb-2"></h3>
{[...values.forceDomain, ''].map((d, index) => (