mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Optimize]Connect样式优化
This commit is contained in:
@@ -108,6 +108,7 @@
|
|||||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||||
"prettier": "2.3.2",
|
"prettier": "2.3.2",
|
||||||
"progress-bar-webpack-plugin": "^1.12.1",
|
"progress-bar-webpack-plugin": "^1.12.1",
|
||||||
|
"pubsub-js": "^1.9.4",
|
||||||
"query-string": "^7.0.1",
|
"query-string": "^7.0.1",
|
||||||
"react-refresh": "^0.10.0",
|
"react-refresh": "^0.10.0",
|
||||||
"react-router-dom": "5.2.1",
|
"react-router-dom": "5.2.1",
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const ConnectDetailCard = (props: { record: any }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
<span style={{ fontFamily: 'HelveticaNeue-Medium', fontSize: 32, color: '#212529' }}>
|
<span style={{ fontFamily: 'HelveticaNeue-Medium', fontSize: 28, color: '#212529' }}>
|
||||||
{Utils.firstCharUppercase(type) || '-'}
|
{Utils.firstCharUppercase(type) || '-'}
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
@@ -64,7 +64,7 @@ const ConnectDetailCard = (props: { record: any }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{
|
{
|
||||||
<span style={{ fontFamily: 'HelveticaNeue-Medium', fontSize: 32, color: stateEnum[state].color }}>
|
<span style={{ fontFamily: 'HelveticaNeue-Medium', fontSize: 28, color: stateEnum[state].color }}>
|
||||||
{Utils.firstCharUppercase(state) || '-'}
|
{Utils.firstCharUppercase(state) || '-'}
|
||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,9 +185,10 @@
|
|||||||
|
|
||||||
.operate-connector-drawer-use-json {
|
.operate-connector-drawer-use-json {
|
||||||
.CodeMirror.cm-s-default {
|
.CodeMirror.cm-s-default {
|
||||||
height: calc(100vh - 146px);
|
height: calc(100vh - 196px);
|
||||||
}
|
}
|
||||||
.dcloud-form-item {
|
.dcloud-form-item {
|
||||||
|
margin-top: 16px;
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { useParams } from 'react-router-dom';
|
|||||||
import EditTable from '../TestingProduce/component/EditTable';
|
import EditTable from '../TestingProduce/component/EditTable';
|
||||||
import Api from '@src/api/index';
|
import Api from '@src/api/index';
|
||||||
import moment from 'moment';
|
import moment from 'moment';
|
||||||
import PubSub from 'pubsub-js'
|
import PubSub from 'pubsub-js';
|
||||||
|
|
||||||
const CustomSelectResetTime = (props: { value?: string; onChange?: (val: Number | String) => void }) => {
|
const CustomSelectResetTime = (props: { value?: string; onChange?: (val: Number | String) => void }) => {
|
||||||
const { value, onChange } = props;
|
const { value, onChange } = props;
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
|
|
||||||
.operate-connector-drawer-use-json {
|
.operate-connector-drawer-use-json {
|
||||||
.CodeMirror.cm-s-default {
|
.CodeMirror.cm-s-default {
|
||||||
height: calc(100vh - 146px);
|
height: calc(100vh - 196px);
|
||||||
}
|
}
|
||||||
.dcloud-form-item {
|
.dcloud-form-item {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user