Skip to content

Commit 69021c4

Browse files
committed
Adjust footer height and improve layout responsiveness; update CardComponent styling
1 parent 8976b6c commit 69021c4

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/assets/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
--large-gap: 2rem;
5656

5757
/* Layout variables */
58-
--footer-height: 8rem;
58+
--footer-height: 6rem;
5959
--header-height: 4rem;
6060
--card-max-width-small: 15rem;
6161
--card-max-width-medium: 20rem;

src/assets/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/* Typography */
1111
h1 {
12-
font-size: 2rem;
12+
font-size: calc(1rem + 1vw);
1313
font-weight: bold;
1414
color: var(--color-text-featured);
1515
margin: 0;

src/components/HomeComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313

1414

15-
<CardComponent width="30rem" :customStyle="{ padding: '0px' }">
15+
<CardComponent :customStyle="{ padding: '0px', maxWidth: '30rem' }">
1616
<template v-slot:image>
1717
<img alt="stock promotional" src="../assets/stockmachine-promotional.jpg" />
1818
</template>

src/components/Navbar.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<nav>
33
<div class="title-icon">
44
<img src="@/assets/icon.png" alt="stockmachine" width="30rem" />
5-
65
<h1>Stock machine</h1>
76
</div>
87
<div class="nav-links">

0 commit comments

Comments
 (0)