mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 09:14:49 +00:00
Merge pull request #6353 from strapi/fix/header-logo
Move header logo to the left
This commit is contained in:
commit
dbaef20ae9
@ -5,6 +5,7 @@ import Logo from '../../assets/images/logo-strapi.png';
|
|||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
background-color: #007eff;
|
background-color: #007eff;
|
||||||
|
padding-left: 2rem;
|
||||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||||
|
|
||||||
.leftMenuHeaderLink {
|
.leftMenuHeaderLink {
|
||||||
@ -16,17 +17,15 @@ const Wrapper = styled.div`
|
|||||||
.projectName {
|
.projectName {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
|
||||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||||
vertical-align: middle;
|
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
letter-spacing: 0.2rem;
|
letter-spacing: 0.2rem;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
||||||
background-image: url(${Logo});
|
background-image: url(${Logo});
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center center;
|
background-position: left center;
|
||||||
background-size: auto 3rem;
|
background-size: auto 2.5rem;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user