Skip to content

Commit

Permalink
unified style
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 7, 2024
1 parent 586e2f6 commit 80020ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/renderer/src/pages/dns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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>
Expand All @@ -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"
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/src/pages/sniffer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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) => (
Expand Down

0 comments on commit 80020ea

Please sign in to comment.