diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..2b008da6 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +node-options="--openssl-legacy-provider" diff --git a/src/common/components/Modal/ConfirmModal.tsx b/src/common/components/Modal/ConfirmModal.tsx index b406df9e..57879582 100644 --- a/src/common/components/Modal/ConfirmModal.tsx +++ b/src/common/components/Modal/ConfirmModal.tsx @@ -1,5 +1,5 @@ import { Modal, Button } from '@dotkomonline/design-system'; -import { FC } from 'react'; +import React, { FC } from 'react'; import style from './modal.less'; interface ConfirmModalProps { diff --git a/src/common/components/Modal/modal.less b/src/common/components/Modal/modal.less index 669f7cfe..3c99c28a 100644 --- a/src/common/components/Modal/modal.less +++ b/src/common/components/Modal/modal.less @@ -1,25 +1,24 @@ .title { - font-size: 1.2rem; - font-weight: bold; - margin-bottom: 0.5rem; - + font-size: 1.2rem; + font-weight: bold; + margin-bottom: 0.5rem; } .message { - font-size: 1.1rem; + font-size: 1.1rem; } .buttonContainer { - display: flex; - flex-direction: row; - justify-content: center; - align-items: flex-end; - width: 100%; - gap: 0.5rem; - margin-top: 0.5rem; + display: flex; + flex-direction: row; + justify-content: center; + align-items: flex-end; + width: 100%; + gap: 0.5rem; + margin-top: 0.5rem; - & > button { - padding: 0.5rem 1.4rem; - min-width: 5rem; - } -} \ No newline at end of file + & > button { + padding: 0.5rem 1.4rem; + min-width: 5rem; + } +} diff --git a/src/core/components/Footer/ContactInfo.tsx b/src/core/components/Footer/ContactInfo.tsx index 1a7cc5bd..b18520bc 100644 --- a/src/core/components/Footer/ContactInfo.tsx +++ b/src/core/components/Footer/ContactInfo.tsx @@ -6,41 +6,41 @@ const ContactInfo = () => { //Update phone number whenever a new leader of Online is elected const contactTlf = '454 61 372'; return ( - <> -
-Besøksadresse:
-A-blokka, A4-137
-Høgskoleringen 5
-NTNU Gløshaugen
- -Kontaktinformasjon:
-
-
Besøksadresse:
+A-blokka, A4-137
+Høgskoleringen 5
+NTNU Gløshaugen
+ +Kontaktinformasjon:
-
-
-
-
Post og faktura:
-Online Linjeforening
-Sem Sælands vei 9
-7491 Trondheim
-
+
+
+
+
Post og faktura:
+Online Linjeforening
+Sem Sælands vei 9
+7491 Trondheim
+