Skip to content

Commit db91017

Browse files
added flex to exchange button
1 parent fe6ddc1 commit db91017

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

lego-webapp/pages/index/PublicFrontpage.module.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ div.wrapper {
6868
}
6969

7070
.LinkButton {
71-
margin-left: 50vh;
7271
background-color: var(--lego-background-color);
7372
border: 2px solid var(--color-red-6);
7473
color: var(--color-red-6);
@@ -78,3 +77,9 @@ div.wrapper {
7877
border: 2px solid var(--lego-red-color-hover);
7978
color: var(--lego-red-color-hover);
8079
}
80+
81+
div.LinkButtonContainer {
82+
display: flex;
83+
flex-wrap: wrap;
84+
justify-content: space-between;
85+
}

lego-webapp/pages/index/PublicFrontpage.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,18 @@ const Welcome = () => (
105105
studiesituasjonen, arrangere kurs som utfyller fagtilbudet ved NTNU,
106106
fremme kontakten med næringslivet og bidra med sosiale aktiviteter.
107107
</p>
108-
<LinkButton dark href="/pages/info-om-abakus">
109-
Les mer om oss
110-
</LinkButton>
111-
<LinkButton
112-
dark
113-
href="/pages/generelt/131-exchange-student"
114-
className={styles.LinkButton}
115-
>
116-
Exchange student?
117-
</LinkButton>
108+
<div className={styles.LinkButtonContainer}>
109+
<LinkButton dark href="/pages/info-om-abakus">
110+
Les mer om oss
111+
</LinkButton>
112+
<LinkButton
113+
dark
114+
href="/pages/generelt/131-exchange-student"
115+
className={styles.LinkButton}
116+
>
117+
Exchange student?
118+
</LinkButton>
119+
</div>
118120
</div>
119121
);
120122

0 commit comments

Comments
 (0)