Skip to content
Snippets Groups Projects
Unverified Commit c8ad0f85 authored by Sivert Kronen Hatteberg's avatar Sivert Kronen Hatteberg
Browse files

Fix svg scaling in safari.

parent 1030a651
No related branches found
No related tags found
1 merge request!263Fix svg scaling in safari.
Pipeline #112503 passed
...@@ -15,7 +15,12 @@ function getHeaderLogo() { ...@@ -15,7 +15,12 @@ function getHeaderLogo() {
if (i18n.language === 'en') { if (i18n.language === 'en') {
return ( return (
<UiOLogoEn <UiOLogoEn
style={{ minHeight: '5rem', minWidth: '5rem', maxWidth: '15rem' }} style={{
minHeight: '5rem',
minWidth: '5rem',
maxWidth: '15rem',
width: '100%',
}}
/> />
) )
} }
...@@ -26,6 +31,7 @@ function getHeaderLogo() { ...@@ -26,6 +31,7 @@ function getHeaderLogo() {
minWidth: '5rem', minWidth: '5rem',
maxWidth: '15rem', maxWidth: '15rem',
opacity: '0.99', opacity: '0.99',
width: '100%',
}} }}
/> />
) )
...@@ -33,13 +39,23 @@ function getHeaderLogo() { ...@@ -33,13 +39,23 @@ function getHeaderLogo() {
if (i18n.language === 'en') { if (i18n.language === 'en') {
return ( return (
<UiBLogoEn <UiBLogoEn
style={{ minHeight: '5rem', minWidth: '10rem', maxWidth: '30rem' }} style={{
minHeight: '5rem',
minWidth: '10rem',
maxWidth: '30rem',
width: '100%',
}}
/> />
) )
} }
return ( return (
<UiBLogoNo <UiBLogoNo
style={{ minHeight: '5rem', minWidth: '10rem', maxWidth: '30rem' }} style={{
minHeight: '5rem',
minWidth: '10rem',
maxWidth: '30rem',
width: '100%',
}}
/> />
) )
default: default:
...@@ -55,13 +71,23 @@ function getFooterLogo() { ...@@ -55,13 +71,23 @@ function getFooterLogo() {
if (i18n.language === 'en') { if (i18n.language === 'en') {
return ( return (
<UiOLogoSealEn <UiOLogoSealEn
style={{ minHeight: '6rem', minWidth: '10rem', maxWidth: '20rem' }} style={{
minHeight: '6rem',
minWidth: '10rem',
maxWidth: '20rem',
width: '100%',
}}
/> />
) )
} }
return ( return (
<UiOLogoSealNo <UiOLogoSealNo
style={{ minHeight: '6rem', minWidth: '10rem', maxWidth: '20rem' }} style={{
minHeight: '6rem',
minWidth: '10rem',
maxWidth: '20rem',
width: '100%',
}}
/> />
) )
case 'uib': case 'uib':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment