Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit d4209c7

Browse files
elevenpassinvinaypuppal
authored andcommitted
fix z-index glitch (#33)
On several pages, components that appear/animate to "rise" seem to overlap the header component. I've added a z-index definition to push the header component to the highest layer so that no other component overlaps / shadows it.
1 parent 64e5568 commit d4209c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/header.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export default props => {
8787
padding: 5px 20px;
8888
width: 100%;
8989
background: #fff;
90+
z-index: 1000
9091
}
9192
.header__container {
9293
max-width: 1280px;

0 commit comments

Comments
 (0)