diff --git a/gfi-ihk-2024/stories/components/contact/ContactComponent.js b/gfi-ihk-2024/stories/components/contact/ContactComponent.js index f637ad3..17d4bf9 100644 --- a/gfi-ihk-2024/stories/components/contact/ContactComponent.js +++ b/gfi-ihk-2024/stories/components/contact/ContactComponent.js @@ -13,7 +13,7 @@ export const createContact = }) => { const wrapper = createElement('div', ['contact-wrapper']); if (headline && headline.length > 0) { - createElement('h2', [], headline, wrapper); + createElement('div', ['like-h2'], headline, wrapper); } const outer = createElement('div', ['contacts'], null, wrapper); @@ -30,7 +30,7 @@ export const createContact = } const tb = createElement('div', ['text-box'], null, cp); - createElement('h3', ['like-h6'], data.name, tb); + createElement('div', ['like-h6'], data.name, tb); createElement('p', [], data.copy, tb); const buttons = createElement('ul', ['contact-buttons'], null, tb); diff --git a/gfi-ihk-2024/stories/components/contact/contact.scss b/gfi-ihk-2024/stories/components/contact/contact.scss index 1cb887f..e964858 100644 --- a/gfi-ihk-2024/stories/components/contact/contact.scss +++ b/gfi-ihk-2024/stories/components/contact/contact.scss @@ -10,13 +10,14 @@ font-size: var(--font-size-small); margin: var(--section-margin) 0; - > h2, > h3, > .like-h2 { + > h2, > h3, > .like-h2, > .like-h3 { margin-top: var(--section-headline-margin); } h5, h6, .like-h6 { margin-top: -0.3em; font-size: var(--font-size-copy); + font-family: var(--font-korb); } .contact-person {