Skip to content

Commit eb2d723

Browse files
committed
fix: improve layout spacings
1 parent f0a0ffb commit eb2d723

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

packages/decap-cms-core/src/components/App/App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const AppMainContainer = styled.div`
3636
min-width: 800px;
3737
max-width: 1440px;
3838
margin: 0 auto;
39+
padding-bottom: 3rem;
3940
`;
4041

4142
const ErrorContainer = styled.div`

packages/decap-cms-core/src/components/App/StatusBar.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ declare global {
88
}
99

1010
const StatusBarContainer = styled.footer`
11+
position: fixed;
12+
z-index: 200;
13+
bottom: 0;
1114
width: 100%;
12-
margin-top: 2rem;
13-
padding: 12px 18px;
14-
font-size: 12px;
15+
padding: 8px 18px;
16+
font-size: 11px;
1517
display: flex;
1618
gap: 1rem;
1719
box-shadow: 0 4px 12px 0 rgba(68, 74, 87, 0.15), 0 1px 3px 0 rgba(68, 74, 87, 0.25);

packages/decap-cms-core/src/components/Editor/EditorControlPane/EditorControlPane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
const ControlPaneContainer = styled.div`
2626
max-width: 800px;
2727
margin: 0 auto;
28-
padding-bottom: 16px;
28+
padding-bottom: 2rem;
2929
font-size: 16px;
3030
`;
3131

packages/decap-cms-core/src/components/Editor/EditorInterface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const NoPreviewContainer = styled.div`
9595
const EditorContainer = styled.div`
9696
width: 100%;
9797
min-width: 800px;
98-
height: 100%;
98+
height: calc(100% - 29px);
9999
position: absolute;
100100
top: 0;
101101
left: 0;

0 commit comments

Comments
 (0)