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:

-

- 992 548 045 (OrgNr) -

- + <> +
+

Besøksadresse:

+

A-blokka, A4-137

+

Høgskoleringen 5

+

NTNU Gløshaugen

+
+
+

Kontaktinformasjon:

- kontakt@online.ntnu.no + 992 548 045 (OrgNr)

-
- -

- okonomi@online.ntnu.no
-

-
- -

- {contactTlf} -

-
-
-
-

Post og faktura:

-

Online Linjeforening

-

Sem Sælands vei 9

-

7491 Trondheim

-
- + +

+ kontakt@online.ntnu.no +

+
+ +

+ okonomi@online.ntnu.no
+

+
+ +

+ {contactTlf} +

+
+
+
+

Post og faktura:

+

Online Linjeforening

+

Sem Sælands vei 9

+

7491 Trondheim

+
+ ); }; diff --git a/src/events/components/DetailView/detail.less b/src/events/components/DetailView/detail.less index 3f6b0783..7636e576 100644 --- a/src/events/components/DetailView/detail.less +++ b/src/events/components/DetailView/detail.less @@ -4,6 +4,10 @@ @gap: 1rem; +.calendarButton > button { + width: 100%; +} + .container { display: grid; grid-template-columns: 5fr 2fr; @@ -169,7 +173,3 @@ .calendarButton { margin-top: 1em; } - -.calendarButton > button { - width: 100%; -} diff --git a/src/pages/applications/index.tsx b/src/pages/applications/index.tsx index ff979fc0..63d08e01 100644 --- a/src/pages/applications/index.tsx +++ b/src/pages/applications/index.tsx @@ -7,7 +7,7 @@ import style from '../../applications/committee.less'; const Committees: React.FC = () => { const [committees, setCommittees] = useState([]); - const applicationFormUrl = 'https://forms.gle/BpQfh42FXfC85tNd6' // updated for August 2023 + const applicationFormUrl = 'https://forms.gle/BpQfh42FXfC85tNd6'; // updated for August 2023 useEffect(() => { console.log('Running'); diff --git a/src/profile/components/Settings/Calendar/calendar.less b/src/profile/components/Settings/Calendar/calendar.less index 458420e0..3474bb6d 100644 --- a/src/profile/components/Settings/Calendar/calendar.less +++ b/src/profile/components/Settings/Calendar/calendar.less @@ -39,4 +39,3 @@ font-size: 1.1rem; margin-top: 1rem; } -