Skip to content
Snippets Groups Projects
Commit e2c0dbdf authored by Tuukka Turu's avatar Tuukka Turu
Browse files

Small introduction positioning fix

parent 231c065d
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
} }
.hy-introduction { .hy-introduction {
&__content {
display: flex;
flex-direction: column;
justify-content: center;
}
&--reversed { &--reversed {
.hy-introduction__outer-content { .hy-introduction__outer-content {
align-items: flex-end; align-items: flex-end;
......
...@@ -211,7 +211,40 @@ ...@@ -211,7 +211,40 @@
<hy-paragraph-text>Accordion content</hy-paragraph-text> <hy-paragraph-text>Accordion content</hy-paragraph-text>
</hy-accordion-item> </hy-accordion-item>
</hy-accordion-container> </hy-accordion-container>
<hy-introduction
variant="blue"
text-title="This is an introduction"
text-description="Highly cited researchers at the University of Helsinki, Centres of Excellence selected by the Academy of Finland and projects funded by the European Research Council."
url="https://www.google.com"
url-title="Check this link"
sc-label="label for link"
image-url="https://www.helsinki.fi/sites/default/files/styles/16_9_huge/public/kukkataedit_ja_-sedaet-6_0.jpg"
></hy-introduction>
<hy-introduction
variant="black"
text-title="This is an introduction"
text-description="Highly cited researchers at the University of Helsinki, Centres of Excellence selected by the Academy of Finland and projects funded by the European Research Council."
url="https://www.google.com"
url-title="Check this link"
sc-label="label for link"
image-url="https://www.helsinki.fi/sites/default/files/styles/16_9_huge/public/kukkataedit_ja_-sedaet-6_0.jpg"
></hy-introduction>
<hy-introduction
reversed
text-title="This is an introduction"
text-description="Highly cited researchers at the University of Helsinki, Centres of Excellence selected by the Academy of Finland and projects funded by the European Research Council."
url="https://www.google.com"
url-title="Check this link"
sc-label="label for link"
image-url="https://www.helsinki.fi/sites/default/files/styles/16_9_huge/public/kukkataedit_ja_-sedaet-6_0.jpg"
></hy-introduction>
<hy-introduction
text-title="This is an introduction"
text-description="Highly cited researchers at the University of Helsinki, Centres of Excellence selected by the Academy of Finland and projects funded by the European Research Council."
url="https://www.google.com"
url-title="Check this link"
sc-label="label for link"
></hy-introduction>
<hy-paragraph-text> <hy-paragraph-text>
THIS IS Pagination THIS IS Pagination
</hy-paragraph-text> </hy-paragraph-text>
......
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