mirror of
https://github.com/strapi/strapi.git
synced 2025-08-28 10:45:51 +00:00
Fixed incorrect variable being used for left-hand side menu
Signed-off-by: Toms Burgmanis <toms.burgmanis@gmail.com>
This commit is contained in:
parent
809432255c
commit
b55ce1949e
@ -5,7 +5,7 @@ import Logo from '../../assets/images/logo-strapi.png';
|
||||
|
||||
const Wrapper = styled.div`
|
||||
background-color: #007eff;
|
||||
height: ${props => props.theme.main.sizes.header.height};
|
||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||
|
||||
.leftMenuHeaderLink {
|
||||
&:hover {
|
||||
@ -18,7 +18,7 @@ const Wrapper = styled.div`
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: ${props => props.theme.main.sizes.header.height};
|
||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||
vertical-align: middle;
|
||||
font-size: 2rem;
|
||||
letter-spacing: 0.2rem;
|
||||
|
@ -4,12 +4,12 @@ import PropTypes from 'prop-types';
|
||||
const Wrapper = styled.div`
|
||||
padding-top: 0.7rem;
|
||||
position: absolute;
|
||||
top: ${props => props.theme.main.sizes.header.height};
|
||||
top: ${props => props.theme.main.sizes.leftMenu.height};
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
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;
|
||||
|
||||
.title {
|
||||
|
Loading…
x
Reference in New Issue
Block a user