1
0
mirror of https://github.com/jdan/98.css.git synced 2025-08-20 04:32:11 +02:00

fix h3 margin

This commit is contained in:
Jordan Scales
2020-04-21 16:27:16 -04:00
parent c1007709a6
commit 366c8dcb01

View File

@@ -53,7 +53,10 @@ h2 {
} }
h3 { h3 {
margin-top: 20px; /* Swap the margin for a top-padding so linking to this section
results in a better scroll position */
padding-top: 20px;
margin-top: 0;
display: block; display: block;
flex: 0 0 180px; flex: 0 0 180px;
} }