Fixed incorrect variable being used for left-hand side menu

Signed-off-by: Toms Burgmanis <toms.burgmanis@gmail.com>
This commit is contained in:
Toms Burgmanis 2020-02-16 23:01:55 +02:00
parent 809432255c
commit b55ce1949e
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import Logo from '../../assets/images/logo-strapi.png';
const Wrapper = styled.div` const Wrapper = styled.div`
background-color: #007eff; background-color: #007eff;
height: ${props => props.theme.main.sizes.header.height}; height: ${props => props.theme.main.sizes.leftMenu.height};
.leftMenuHeaderLink { .leftMenuHeaderLink {
&:hover { &:hover {
@ -18,7 +18,7 @@ const Wrapper = styled.div`
height: 100%; height: 100%;
width: 100%; width: 100%;
text-align: center; text-align: center;
height: ${props => props.theme.main.sizes.header.height}; height: ${props => props.theme.main.sizes.leftMenu.height};
vertical-align: middle; vertical-align: middle;
font-size: 2rem; font-size: 2rem;
letter-spacing: 0.2rem; letter-spacing: 0.2rem;

View File

@ -4,12 +4,12 @@ import PropTypes from 'prop-types';
const Wrapper = styled.div` const Wrapper = styled.div`
padding-top: 0.7rem; padding-top: 0.7rem;
position: absolute; position: absolute;
top: ${props => props.theme.main.sizes.header.height}; top: ${props => props.theme.main.sizes.leftMenu.height};
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
overflow-y: auto; overflow-y: auto;
height: calc(100vh - (${props => props.theme.main.sizes.header.height} + 10.2rem)); height: calc(100vh - (${props => props.theme.main.sizes.leftMenu.height} + 10.2rem));
box-sizing: border-box; box-sizing: border-box;
.title { .title {