Skip to content

Commit d3858fe

Browse files
committed
Remove width property from footer for improved layout consistency
1 parent b3c719f commit d3858fe

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Wireframe/style.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,16 @@ main {
5353
max-width: var(--container);
5454
margin: 0 auto calc(var(--space) * 4) auto;
5555
}
56+
5657
footer {
5758
position: fixed;
5859
bottom: 0;
5960
text-align: center;
60-
background-color: var(--paper);
61-
width: 100%;
61+
margin: 0 auto;
62+
padding: 2rem 0;
63+
background-color: white;
6264
}
65+
6366
/* ====== Articles Grid Layout ====
6467
Setting the rules for how articles are placed in the main element.
6568
Inspect this in Devtools and click the "grid" button in the Elements view
@@ -105,4 +108,3 @@ section {
105108
width: 100%;
106109
grid-column: span 3;
107110
}
108-
}

0 commit comments

Comments
 (0)