mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +08:00
unified button size
This commit is contained in:
parent
61847d94f5
commit
eab55bc7dd
|
@ -26,10 +26,10 @@ const BasePasswordModal: React.FC<Props> = (props) => {
|
|||
<Input fullWidth type="password" value={password} onValueChange={setPassword} />
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onCancel}>
|
||||
<Button size="sm" variant="light" onPress={onCancel}>
|
||||
取消
|
||||
</Button>
|
||||
<Button color="primary" onPress={() => onConfirm(password)}>
|
||||
<Button size="sm" color="primary" onPress={() => onConfirm(password)}>
|
||||
确认
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -96,7 +96,7 @@ const ConnectionDetailModal: React.FC<Props> = (props) => {
|
|||
)}
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -56,7 +56,7 @@ const InterfaceModal: React.FC<Props> = (props) => {
|
|||
})}
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -71,10 +71,10 @@ const EditInfoModal: React.FC<Props> = (props) => {
|
|||
</SettingItem>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
取消
|
||||
</Button>
|
||||
<Button color="primary" onPress={onSave}>
|
||||
<Button size="sm" color="primary" onPress={onSave}>
|
||||
保存
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -47,7 +47,7 @@ const ExecLogModal: React.FC<Props> = (props) => {
|
|||
})}
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -166,10 +166,10 @@ const EditInfoModal: React.FC<Props> = (props) => {
|
|||
</SettingItem>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
取消
|
||||
</Button>
|
||||
<Button color="primary" onPress={onSave}>
|
||||
<Button size="sm" color="primary" onPress={onSave}>
|
||||
保存
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -68,7 +68,7 @@ const WebdavRestoreModal: React.FC<Props> = (props) => {
|
|||
)}
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
</ModalFooter>
|
||||
|
|
|
@ -64,10 +64,11 @@ const UpdaterModal: React.FC<Props> = (props) => {
|
|||
</ReactMarkdown>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<Button variant="light" onPress={onClose}>
|
||||
<Button size="sm" variant="light" onPress={onClose}>
|
||||
取消
|
||||
</Button>
|
||||
<Button
|
||||
size="sm"
|
||||
color="primary"
|
||||
isLoading={downloading}
|
||||
onPress={async () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user