@@ -96,8 +96,9 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
96
96
direction = "horizontal"
97
97
className = "stretch-absolute"
98
98
style = { {
99
- marginLeft : '-8px' ,
100
- marginTop : SHOW_ACTIONS_IN_HEADER ? '-8px' : '40px' ,
99
+ marginTop : SHOW_ACTIONS_IN_HEADER ? '0' : '58px' ,
100
+ height : SHOW_ACTIONS_IN_HEADER ? '100%' : 'calc(100% - 58px)' ,
101
+ gap : '4px' ,
101
102
} }
102
103
>
103
104
{ ( EuiResizablePanel , EuiResizableButton , { togglePanel } ) => {
@@ -112,7 +113,8 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
112
113
mode = "main"
113
114
initialSize = { 60 }
114
115
minSize = "25%"
115
- paddingSize = "s"
116
+ paddingSize = "none"
117
+ scrollable = { false }
116
118
>
117
119
< WorkflowInputs
118
120
workflow = { props . workflow }
@@ -135,23 +137,18 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
135
137
< EuiResizableButton />
136
138
< EuiResizablePanel
137
139
id = { PREVIEW_PANEL_ID }
138
- style = { {
139
- marginRight : isPreviewPanelOpen ? '-32px' : '0px' ,
140
- marginBottom : isToolsPanelOpen ? '0px' : '24px' ,
141
- } }
142
140
mode = "collapsible"
143
141
initialSize = { 60 }
144
142
minSize = "25%"
145
- paddingSize = "s"
143
+ paddingSize = "none"
144
+ borderRadius = "l"
146
145
onToggleCollapsedInternal = { ( ) => onTogglePreviewChange ( ) }
147
146
>
148
147
< EuiResizableContainer
149
148
className = "workspace-panel"
150
149
direction = "vertical"
151
150
style = { {
152
- marginLeft : '-8px' ,
153
- marginTop : '-8px' ,
154
- padding : 'none' ,
151
+ gap : '4px' ,
155
152
} }
156
153
>
157
154
{ ( EuiResizablePanel , EuiResizableButton , { togglePanel } ) => {
@@ -171,12 +168,12 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
171
168
mode = "main"
172
169
initialSize = { 60 }
173
170
minSize = "25%"
174
- paddingSize = "s "
175
- style = { { marginBottom : '-8px' } }
171
+ paddingSize = "none "
172
+ borderRadius = "l"
176
173
>
177
174
< EuiFlexGroup
178
175
direction = "column"
179
- gutterSize = "s "
176
+ gutterSize = "none "
180
177
style = { { height : '100%' } }
181
178
>
182
179
< EuiFlexItem >
@@ -193,9 +190,9 @@ export function ResizableWorkspace(props: ResizableWorkspaceProps) {
193
190
mode = "collapsible"
194
191
initialSize = { 50 }
195
192
minSize = "25%"
196
- paddingSize = "s"
193
+ paddingSize = "none"
194
+ borderRadius = "l"
197
195
onToggleCollapsedInternal = { ( ) => onToggleToolsChange ( ) }
198
- style = { { marginBottom : '-16px' } }
199
196
>
200
197
< Tools
201
198
workflow = { props . workflow }
0 commit comments