Skip to content

Commit

Permalink
Move footer to bottom of page on preview
Browse files Browse the repository at this point in the history
  • Loading branch information
vivi committed Feb 21, 2021
1 parent 5e63cb4 commit 962c718
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pages/viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ import { Preview } from "../modules/message/preview/Preview"
const Container = styled.div`
height: 100%;
overflow-y: auto;
display: flex;
flex-flow: column;
`

const Content = styled.div`
flex: 1;
`

export type ViewerProps = {
Expand Down Expand Up @@ -55,7 +61,9 @@ export default function Viewer(props: ViewerProps) {
{ name: "Settings", handler: spawnSettingsModal },
]}
/>
<Preview />
<Content>
<Preview />
</Content>
<Footer />
</Container>
</EditorManagerProvider>
Expand Down

0 comments on commit 962c718

Please sign in to comment.