File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 33 margin : 0.1em auto -8px auto;
44 width : 100% ;
55}
6+
7+ .actionsBar {
8+ display : flex;
9+ flex-direction : row;
10+ justify-content : space-between;
11+ gap : 0.5rem ;
12+ }
13+
14+ .panelHeader {
15+ width : 100% ;
16+ }
Original file line number Diff line number Diff line change @@ -95,14 +95,7 @@ export default function McpPage() {
9595 breadcrumbs = { < BreadCrumbFeedbackHeader /> }
9696 //TODO: actionBar should use Toolbar and ToolbarButton for consistent design
9797 actionsBar = {
98- < div
99- style = { {
100- display : 'flex' ,
101- flexDirection : 'row' ,
102- justifyContent : 'space-between' ,
103- gap : '0.5rem' ,
104- } }
105- >
98+ < div className = { styles . actionsBar } >
10699 < MCPHealthPopoverButton
107100 mcpStatus = { mcp ?. status }
108101 projectName = { projectName }
@@ -158,7 +151,7 @@ export default function McpPage() {
158151 headerLevel = "H2"
159152 headerText = "Panel"
160153 header = {
161- < FlexBox justifyContent = { 'SpaceBetween' } alignItems = { 'Center' } style = { { width : '100%' } } >
154+ < FlexBox justifyContent = { 'SpaceBetween' } alignItems = { 'Center' } className = { styles . panelHeader } >
162155 < Title level = "H3" > { t ( 'McpPage.componentsTitle' ) } </ Title > { ' ' }
163156 < Button tooltip = { t ( 'editMCP.editComponents' ) } icon = { 'edit' } onClick = { onEditComponents } />
164157 </ FlexBox >
You can’t perform that action at this time.
0 commit comments