🎨 🐛 problème sur le prerender des styled component

pull/640/head
Johan Girod 2019-10-15 13:35:44 +02:00
parent c33248fd1e
commit 044597132f
2 changed files with 21 additions and 17 deletions

View File

@ -95,7 +95,7 @@
transform: scale(1.5) translateY(0.1rem);
}
.ui__.card.box .ui__.big.box-icon > img {
transform: scale(2.3) translateY(0.1rem);
transform: scale(2.3) translateY(0.2rem);
}
@media (max-width: 500px) {

View File

@ -11,14 +11,18 @@ export default function Header() {
const sitePaths = useContext(SitePathsContext)
const { i18n: { language } } = useTranslation();
return (
<div className="ui__ container" css="display:flex; align-items: center">
<Link css='height: 4rem' to={sitePaths.index}>
<div className="ui__ container" style={{
display: 'flex',
alignItems: 'center'
}}
>
<Link style={{ height: '4rem' }} to={sitePaths.index}>
<img
alt="logo mon-entreprise.fr"
css={`
padding: 0.5rem 0;
height: 100%;`
}
style={{
padding: '0.5rem 0',
height: '100%'
}}
src={language === 'fr' ? logoSvg : logoEnSvg}
/>
</Link>
@ -26,21 +30,21 @@ export default function Header() {
<a
href="https://beta.gouv.fr"
target="_blank"
css={`
height: 4rem;
padding: 1rem;
`}>
<img alt="logo marianne" css={'height: 100%'} src={marianneSvg} />
style={{
height: '4rem',
padding: '1rem'
}}>
<img alt="logo marianne" style={{ height: '100%' }} src={marianneSvg} />
</a>
<a
href="https://www.urssaf.fr"
target="_blank"
css={`
height: 4rem;
padding: 1rem;
`}
css={{
height: '4rem',
padding: '1rem'
}}
className="landing-header__institutional-logo">
<img alt="logo urssaf" css={'height: 100%'} src={urssafSvg} />
<img alt="logo urssaf" style={{ height: '100%' }} src={urssafSvg} />
</a>
</div>)
}