File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function App() {
1616 return (
1717 < ThemeProvider theme = { light } >
1818 < Container >
19- < Content >
19+ < Content layout >
2020 < Header >
2121 < h2 > Upload de Imagens</ h2 >
2222 < p > Imagens do tipo .png ou .jpg</ p >
Original file line number Diff line number Diff line change 1+ import { motion } from 'framer-motion' ;
12import styled from 'styled-components' ;
23
34export const Container = styled . div `
@@ -7,7 +8,7 @@ export const Container = styled.div`
78 height: 100%;
89` ;
910
10- export const Content = styled . main `
11+ export const Content = styled ( motion . main ) `
1112 display: flex;
1213 flex-direction: column;
1314
@@ -16,7 +17,10 @@ export const Content = styled.main`
1617
1718 max-width: 500px;
1819
19- transition: all 2 ease;
20+ height: auto;
21+ max-height: 600px;
22+
23+ transition: height 2 ease;
2024
2125 margin: 30px;
2226 padding: 20px;
You can’t perform that action at this time.
0 commit comments