Browse Source

bugfix

master
FlorianEisenmenger 10 months ago
parent
commit
1de65d54b4
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      gfi-ihk-2024/stories/components/contact/ContactComponent.js
  2. +2
    -1
      gfi-ihk-2024/stories/components/contact/contact.scss

+ 2
- 2
gfi-ihk-2024/stories/components/contact/ContactComponent.js View File

@@ -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);


+ 2
- 1
gfi-ihk-2024/stories/components/contact/contact.scss View File

@@ -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 {


Loading…
Cancel
Save