Skip to content

Commit 31d9e69

Browse files
author
pompurin404
committed
fix styles
1 parent 5eeca45 commit 31d9e69

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/renderer/src/components/profiles/edit-file-modal.tsx

+1-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ const EditFileModal: React.FC<Props> = (props) => {
3030
<ModalContent className="h-full w-[calc(100%-100px)]">
3131
<ModalHeader className="flex">编辑订阅</ModalHeader>
3232
<ModalBody className="h-full">
33-
<BaseEditor
34-
language="yaml"
35-
schema="clash"
36-
value={currData}
37-
onChange={(value) => setCurrData(value)}
38-
/>
33+
<BaseEditor language="yaml" value={currData} onChange={(value) => setCurrData(value)} />
3934
</ModalBody>
4035
<ModalFooter>
4136
<Button variant="light" onPress={onClose}>

src/renderer/src/pages/connections.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const Connections: React.FC = () => {
124124
<TableCell className="max-w-[100px] text-ellipsis whitespace-nowrap overflow-hidden">
125125
{item.rule} {item.rulePayload}
126126
</TableCell>
127-
<TableCell className="max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
127+
<TableCell className="flag-emoji max-w-[200px] text-ellipsis whitespace-nowrap overflow-hidden">
128128
{item.chains.reverse().join('::')}
129129
</TableCell>
130130
<TableCell>

0 commit comments

Comments
 (0)