Skip to content

Commit 81de097

Browse files
committed
fix for issue #3
1 parent 7133fc9 commit 81de097

File tree

5 files changed

+24
-23
lines changed

5 files changed

+24
-23
lines changed

Changelog.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ The below format is based on [Keep a Changelog](http://keepachangelog.com/).
99
- `headerText` config
1010
### Fixed
1111
- An issue which returns || when save is pressed without selecting any values
12-
13-
## v1.1.100 - 2019-09-28
12+
- [FOR #3](https://github.com/nj-coder/nj-timepicker/issues/3) DIV renders at top of page, irregardless of page scrolling
13+
14+
## [1.1.100] - 2019-09-28
1415
### Added
1516
- Base component
1617
- Minutes configuration
1718
- set and get value methods
1819

19-
## v0.0.100 - 2019-08-15
20+
## [0.0.100] - 2019-08-15
2021
### Added
2122
- Inital layout and configuration

dist/style.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,21 @@
1616
grid-template-columns: repeat(6, 1fr);
1717
grid-gap: 0.5em; }
1818

19+
.nj-overlay {
20+
height: 100vh;
21+
width: 100vw;
22+
position: fixed;
23+
top: 0;
24+
left: 0;
25+
right: 0;
26+
bottom: 0;
27+
background-color: rgba(0, 0, 0, 0.5);
28+
z-index: 2; }
29+
1930
.nj-picker {
20-
height: 100%;
21-
width: 100%;
22-
position: absolute;
31+
height: 100vh;
32+
width: 100vw;
33+
position: fixed;
2334
top: 0;
2435
left: 0;
2536
display: none;
@@ -58,17 +69,6 @@
5869
.nj-picker-show {
5970
display: flex !important; }
6071

61-
.nj-overlay {
62-
position: fixed;
63-
width: 100%;
64-
height: 100%;
65-
top: 0;
66-
left: 0;
67-
right: 0;
68-
bottom: 0;
69-
background-color: rgba(0, 0, 0, 0.5);
70-
z-index: 2; }
71-
7272
.nj-picker .nj-action-container {
7373
display: grid;
7474
grid-template-columns: repeat(3, 1fr); }

dist/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/background/background.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.nj-overlay {
2+
height: 100vh;
3+
width: 100vw;
24
position: fixed;
3-
width: 100%;
4-
height: 100%;
55
top: 0;
66
left: 0;
77
right: 0;

src/base/base.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.nj-picker {
2-
height: 100%;
3-
width: 100%;
4-
position: absolute;
2+
height: 100vh;
3+
width: 100vw;
4+
position: fixed;
55
top: 0;
66
left: 0;
77
display: none;

0 commit comments

Comments
 (0)