Skip to content

Commit edbcf7c

Browse files
Footer overlap fixed
1 parent e25bad6 commit edbcf7c

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

Wireframe/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2> What is a README File?</h2>
3434

3535
</article>
3636

37-
<div>
37+
<div class="article-grid">
3838

3939
<article>
4040

Wireframe/style.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ main {
5656
}
5757

5858
footer {
59-
position: fixed;
60-
bottom: 0;
6159
text-align: center;
62-
width: 100%;
60+
margin-top: var(--space);
6361
}
6462

6563
/* ====== Articles Grid Layout ====
@@ -102,12 +100,11 @@ article {
102100
}
103101
}
104102

105-
section {
106-
103+
.article-grid {
107104
grid-column: span 2;
108105
display: grid;
109106
grid-template-columns: 1fr 1fr;
110-
gap: 10px;
107+
gap: var(--space);
111108
}
112109

113110
header {

0 commit comments

Comments
 (0)