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