mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
修复diff和系统设置移动端样式
This commit is contained in:
parent
39ae979953
commit
cfee47b112
|
@ -67,6 +67,10 @@ const Crontab = () => {
|
|||
>
|
||||
<ReactDiffViewer
|
||||
styles={{
|
||||
diffContainer: {
|
||||
overflowX: 'auto',
|
||||
minWidth: 768,
|
||||
},
|
||||
diffRemoved: {
|
||||
overflowX: 'auto',
|
||||
maxWidth: 300,
|
||||
|
|
|
@ -94,7 +94,7 @@ const Password = () => {
|
|||
<Tabs
|
||||
defaultActiveKey="person"
|
||||
tabPosition="left"
|
||||
style={{ padding: '16px 0', height: 'calc(100vh - 96px)' }}
|
||||
style={{ padding: '16px 16px 16px 0', height: 'calc(100vh - 96px)' }}
|
||||
>
|
||||
<Tabs.TabPane tab="个人设置" key="person">
|
||||
<Form onFinish={handleOk} layout="vertical">
|
||||
|
@ -103,7 +103,7 @@ const Password = () => {
|
|||
name="username"
|
||||
rules={[{ required: true }]}
|
||||
hasFeedback
|
||||
style={{ width: 300 }}
|
||||
style={{ maxWidth: 300 }}
|
||||
>
|
||||
<Input placeholder="用户名" autoFocus />
|
||||
</Form.Item>
|
||||
|
@ -112,7 +112,7 @@ const Password = () => {
|
|||
name="password"
|
||||
rules={[{ required: true }]}
|
||||
hasFeedback
|
||||
style={{ width: 300 }}
|
||||
style={{ maxWidth: 300 }}
|
||||
>
|
||||
<Input type="password" placeholder="密码" />
|
||||
</Form.Item>
|
||||
|
|
Loading…
Reference in New Issue
Block a user