Skip to content

Commit 4ff0f4c

Browse files
committed
Fix navbar overlapping title
As the navbar has been made fixed we have to compensate it with a little top padding for the body as the size of the navbar isn't taken into account when it is turned into fixed. Ref: https://stackoverflow.com/a/11124805/5614968
1 parent 5060fd9 commit 4ff0f4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

style.css

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
body {
44
text-align: center;
5+
padding-top: 50px;
56
}
67

78
.bg-primary {

0 commit comments

Comments
 (0)