Skip to content

Commit

Permalink
fix: info row above edit page row
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 8, 2020
1 parent 0528403 commit 53389b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions ui/app/src/Container/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ export const Container: FC = ({ children }) => {

return (
<Box variant="container.container">
<BlocksContainer
infoRow={<DocumentShortItem reverse={true} doc={doc} config={config} />}
>
<Box variant="container.inforow">
<DocumentShortItem reverse={true} doc={doc} config={config} />
</Box>
<BlocksContainer>
{children}
<Box variant="container.pagination">
<Pagination />
Expand Down
3 changes: 2 additions & 1 deletion ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export const theme: ControlsTheme = {
alignItems: 'center',
justifyContent: 'space-between',
},
inforow: { pt: 2 },
inforow: { mt: 2 },
titlerow: {
my: 4,
},
Expand Down Expand Up @@ -937,6 +937,7 @@ export const theme: ControlsTheme = {
container: {
container: {},
pagination: { py: 4 },
inforow: { mb: 2 },
},
documentslist: {
container: {},
Expand Down

0 comments on commit 53389b4

Please sign in to comment.