hiding-header
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "hiding-header", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Toggles header visibility on scroll.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -22,5 +22,3 @@ # Hiding Header [![npm](https://img.shields.io/npm/v/hiding-header.svg)](https://www.npmjs.com/package/hiding-header) [![Dependencies](https://img.shields.io/david/FilipChalupa/hiding-header.svg)](https://www.npmjs.com/package/hiding-header?activeTab=dependencies) ![npm type definitions](https://img.shields.io/npm/types/hiding-header.svg) | ||
<div class="hidingHeader-in"> | ||
<div class="hidingHeader-content"> | ||
<!-- Your header --> | ||
</div> | ||
<!-- Your header --> | ||
</div> | ||
@@ -52,5 +50,2 @@ </div> | ||
top: 0; | ||
} | ||
.hidingHeader-content { | ||
pointer-events: auto; | ||
@@ -84,5 +79,3 @@ } | ||
<div className="hidingHeader" ref={container}> | ||
<div className="hidingHeader-in"> | ||
<div className="hidingHeader-content">{props.children}</div> | ||
</div> | ||
<div className="hidingHeader-in">{props.children}</div> | ||
</div> | ||
@@ -89,0 +82,0 @@ ) |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
1335768
8
207
82