Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
eb0b5714
Unverified
Commit
eb0b5714
authored
Dec 15, 2023
by
ZackYoung
Committed by
GitHub
Dec 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Web]Fix datastudio layout (#2650)
* fix_datastudio_layout
parent
d64e6eb7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ConsoleContent.tsx
...ges/DataStudio/BottomContainer/Console/ConsoleContent.tsx
+3
-3
model.ts
dinky-web/src/pages/DataStudio/model.ts
+0
-0
No files found.
dinky-web/src/pages/DataStudio/BottomContainer/Console/ConsoleContent.tsx
View file @
eb0b5714
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
import
CodeShow
from
'@/components/CustomEditor/CodeShow'
;
import
CodeShow
from
'@/components/CustomEditor/CodeShow'
;
import
{
SseData
}
from
'@/models/Sse'
;
import
{
SseData
}
from
'@/models/Sse'
;
import
{
DataStudioTabsItemType
,
StateType
}
from
'@/pages/DataStudio/model'
;
import
{
DataStudioTabsItemType
,
StateType
,
VIEW
}
from
'@/pages/DataStudio/model'
;
import
{
SSE_TOPIC
}
from
'@/pages/DevOps/constants'
;
import
{
SSE_TOPIC
}
from
'@/pages/DevOps/constants'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
API_CONSTANTS
}
from
'@/services/endpoints'
;
import
{
parseMilliSecondStr
}
from
'@/utils/function'
;
import
{
parseMilliSecondStr
}
from
'@/utils/function'
;
...
@@ -139,7 +139,7 @@ const ConsoleContent = (props: ConsoleProps) => {
...
@@ -139,7 +139,7 @@ const ConsoleContent = (props: ConsoleProps) => {
};
};
return
(
return
(
<
div
style=
{
{
height
:
props
.
height
-
53
}
}
>
<
div
style=
{
{
height
:
props
.
height
-
VIEW
.
leftMargin
}
}
>
<
SplitPane
<
SplitPane
split=
{
'vertical'
}
split=
{
'vertical'
}
defaultSizes=
{
[
100
,
500
]
}
defaultSizes=
{
[
100
,
500
]
}
...
@@ -178,7 +178,7 @@ const ConsoleContent = (props: ConsoleProps) => {
...
@@ -178,7 +178,7 @@ const ConsoleContent = (props: ConsoleProps) => {
>
>
<
CodeShow
<
CodeShow
code=
{
selectNode
?.
log
?
selectNode
.
log
:
''
}
code=
{
selectNode
?.
log
?
selectNode
.
log
:
''
}
height=
{
props
.
height
-
53
}
height=
{
props
.
height
-
VIEW
.
leftMargin
}
language=
{
'javalog'
}
language=
{
'javalog'
}
lineNumbers=
{
'off'
}
lineNumbers=
{
'off'
}
enableMiniMap
enableMiniMap
...
...
dinky-web/src/pages/DataStudio/model.ts
View file @
eb0b5714
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment