File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
client/packages/lowcoder/src/pages/setting/environments Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -125,16 +125,17 @@ const EnvironmentDetail: React.FC = () => {
125
125
< Breadcrumb . Item > { environment . environmentName } </ Breadcrumb . Item >
126
126
</ Breadcrumb >
127
127
128
+ { /* Header with environment name and controls */ }
128
129
{ /* Header with environment name and controls */ }
129
130
< div
130
131
className = "environment-header"
131
132
style = { {
132
133
marginBottom : "24px" ,
133
134
display : "flex" ,
134
135
justifyContent : "space-between" ,
135
- alignItems : "flex-start" , // Changed from center to allow wrapping
136
- flexWrap : "wrap" , // Allow wrapping on small screens
137
- gap : "16px" , // Add spacing between wrapped elements
136
+ alignItems : "flex-start" ,
137
+ flexWrap : "wrap" ,
138
+ gap : "16px" ,
138
139
} }
139
140
>
140
141
< div style = { { flex : "1 1 auto" , minWidth : "200px" } } >
@@ -144,9 +145,13 @@ const EnvironmentDetail: React.FC = () => {
144
145
< Text type = "secondary" > ID: { environment . environmentId } </ Text >
145
146
</ div >
146
147
< div style = { { flexShrink : 0 } } >
147
- < Dropdown overlay = { actionsMenu } trigger = { [ "click" ] } >
148
- < Button icon = { < MoreOutlined /> } shape = "circle" size = "large" />
149
- </ Dropdown >
148
+ < Button
149
+ icon = { < EditOutlined /> }
150
+ onClick = { handleEditClick }
151
+ type = "primary"
152
+ >
153
+ Edit Environment
154
+ </ Button >
150
155
</ div >
151
156
</ div >
152
157
You can’t perform that action at this time.
0 commit comments