Skip to content
Snippets Groups Projects
Commit d281b723 authored by Ekaterina Kondareva's avatar Ekaterina Kondareva
Browse files

Merge branch 'footer_fixes' into 'development'

Footer fixes

See merge request julkiset-sivut/design-system-lib!81
parents 759d51e3 6a959408
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
display: flex; display: flex;
flex-direction: column-reverse; flex-direction: column-reverse;
max-height: 100%; max-height: 100%;
padding: 32px 24px 32px 24px; padding: 32px 16px 32px 16px;
place-content: center space-between; place-content: center space-between;
position: relative; position: relative;
width: 100%; width: 100%;
......
...@@ -91,7 +91,13 @@ export class HyFooterBase implements ComponentInterface { ...@@ -91,7 +91,13 @@ export class HyFooterBase implements ComponentInterface {
{some && {some &&
some.map((s) => { some.map((s) => {
return ( return (
<a href={s.url} class={`hy-footer-base__some__item`} title={s.label} aria-label={s.label}> <a
aria-label={s.label}
href={s.url}
class={`hy-footer-base__some__item`}
title={s.label}
target="_blank"
>
<hy-icon icon={`hy-icon-some-${s.type}`} size={36} /> <hy-icon icon={`hy-icon-some-${s.type}`} size={36} />
</a> </a>
); );
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
max-height: auto; max-height: auto;
padding: 0 24px 40px 24px; padding: 0 16px 40px 16px;
place-content: center space-between; place-content: center space-between;
@include breakpoint($medium) { @include breakpoint($medium) {
...@@ -79,4 +79,8 @@ ...@@ -79,4 +79,8 @@
width: 65.56%; width: 65.56%;
} }
} }
.hy-accordion__content--inner-wrapper {
width: 100%;
}
} }
...@@ -15,7 +15,7 @@ hy-footer-link-item { ...@@ -15,7 +15,7 @@ hy-footer-link-item {
flex-direction: column; flex-direction: column;
.hy-footer-link-item:last-child { .hy-footer-link-item:last-child {
margin-bottom: 14px; margin-bottom: 16px;
} }
} }
...@@ -44,6 +44,10 @@ hy-footer-link-item { ...@@ -44,6 +44,10 @@ hy-footer-link-item {
padding: 15px 20px 15px 0; padding: 15px 20px 15px 0;
} }
@include breakpoint($overwide) {
margin-left: 48px;
}
&__color-white { &__color-white {
border-bottom: 1px solid var(--grayscale-white); border-bottom: 1px solid var(--grayscale-white);
color: var(--grayscale-white); color: var(--grayscale-white);
...@@ -74,6 +78,7 @@ hy-footer-link-item { ...@@ -74,6 +78,7 @@ hy-footer-link-item {
color: var(--grayscale-nearly-black); color: var(--grayscale-nearly-black);
font-family: var(--main-font-family); font-family: var(--main-font-family);
text-decoration: none; text-decoration: none;
margin-bottom: 12px;
} }
} }
} }
......
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