enhancement: changed save button placement
This commit is contained in:
28
src/App.tsx
28
src/App.tsx
@@ -55,7 +55,7 @@ const App: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</Sider>
|
</Sider>
|
||||||
<Layout>
|
<Layout>
|
||||||
<Header style={{ padding: 0, background: colorBgContainer }}>
|
<Header style={{ padding: 0, background: colorBgContainer, display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
|
||||||
<Space>
|
<Space>
|
||||||
<div style={{ background: '#001529' }}>
|
<div style={{ background: '#001529' }}>
|
||||||
<Button
|
<Button
|
||||||
@@ -69,21 +69,23 @@ const App: React.FC = () => {
|
|||||||
color: colorBgContainer,
|
color: colorBgContainer,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Button
|
|
||||||
type="text"
|
|
||||||
icon={<SaveOutlined />}
|
|
||||||
onClick={saveConceptSketch}
|
|
||||||
title="Save as JSON"
|
|
||||||
style={{
|
|
||||||
fontSize: '16px',
|
|
||||||
width: 32,
|
|
||||||
height: 32,
|
|
||||||
color: colorBgContainer,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<Breadcrumb items={graphLevel} />
|
<Breadcrumb items={graphLevel} />
|
||||||
</Space>
|
</Space>
|
||||||
|
<div style={{ background: '#001529' }}>
|
||||||
|
<Button
|
||||||
|
type="text"
|
||||||
|
icon={<SaveOutlined />}
|
||||||
|
onClick={saveConceptSketch}
|
||||||
|
title="Save as JSON"
|
||||||
|
style={{
|
||||||
|
fontSize: '16px',
|
||||||
|
width: 32,
|
||||||
|
height: 32,
|
||||||
|
color: colorBgContainer,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</Header>
|
</Header>
|
||||||
<Content
|
<Content
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
Reference in New Issue
Block a user