mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 16:29:18 +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`
|
||||
background-color: #007eff;
|
||||
padding-left: 2rem;
|
||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||
|
||||
.leftMenuHeaderLink {
|
||||
@ -16,17 +17,15 @@ const Wrapper = styled.div`
|
||||
.projectName {
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: ${props => props.theme.main.sizes.leftMenu.height};
|
||||
vertical-align: middle;
|
||||
font-size: 2rem;
|
||||
letter-spacing: 0.2rem;
|
||||
color: $white;
|
||||
|
||||
background-image: url(${Logo});
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: auto 3rem;
|
||||
background-position: left center;
|
||||
background-size: auto 2.5rem;
|
||||
}
|
||||
`;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user