Skip to content

Commit cc77593

Browse files
committed
fix for issue #3
1 parent cffab37 commit cc77593

File tree

6 files changed

+42
-41
lines changed

6 files changed

+42
-41
lines changed

Changelog.md

Lines changed: 3 additions & 2 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+
- [FOR #3](https://github.com/152hq/QicForms/issues/3) DIV renders at top of page, irregardless of page scrolling
1213

13-
## v1.1.100 - 2019-09-28
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: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,46 +9,28 @@
99
--header-text-align: left;
1010
--header-bg: #414141; }
1111

12-
.nj-overlay {
13-
position: fixed;
14-
width: 100%;
15-
height: 100%;
16-
top: 0;
17-
left: 0;
18-
right: 0;
19-
bottom: 0;
20-
background-color: rgba(0, 0, 0, 0.5);
21-
z-index: 2; }
22-
2312
.nj-picker .nj-ampm-container {
2413
padding: 0 0.5em 0.5em 0.5em; }
2514
.nj-picker .nj-ampm-container .nj-ampm-wrapper {
2615
display: grid;
2716
grid-template-columns: repeat(6, 1fr);
2817
grid-gap: 0.5em; }
2918

30-
.nj-picker .nj-action-container {
31-
display: grid;
32-
grid-template-columns: repeat(3, 1fr); }
33-
.nj-picker .nj-action-container .nj-action-button {
34-
padding: 0.8em;
35-
text-align: center;
36-
color: #fff;
37-
cursor: pointer; }
38-
.nj-picker .nj-action-container .nj-action-save {
39-
background: var(--save-button-bg);
40-
color: var(--save-button-fc); }
41-
.nj-picker .nj-action-container .nj-action-clear {
42-
background: var(--clear-button-bg);
43-
color: var(--clear-button-fc); }
44-
.nj-picker .nj-action-container .nj-action-close {
45-
background: var(--close-button-bg);
46-
color: var(--close-button-fc); }
19+
.nj-overlay {
20+
position: fixed;
21+
height: 100vh;
22+
width: 100vw;
23+
top: 0;
24+
left: 0;
25+
right: 0;
26+
bottom: 0;
27+
background-color: rgba(138, 67, 67, 0.5);
28+
z-index: 2; }
4729

4830
.nj-picker {
49-
height: 100%;
50-
width: 100%;
51-
position: absolute;
31+
height: 100vh;
32+
width: 100vw;
33+
position: fixed;
5234
top: 0;
5335
left: 0;
5436
display: none;
@@ -87,6 +69,24 @@
8769
.nj-picker-show {
8870
display: flex !important; }
8971

72+
.nj-picker .nj-action-container {
73+
display: grid;
74+
grid-template-columns: repeat(3, 1fr); }
75+
.nj-picker .nj-action-container .nj-action-button {
76+
padding: 0.8em;
77+
text-align: center;
78+
color: #fff;
79+
cursor: pointer; }
80+
.nj-picker .nj-action-container .nj-action-save {
81+
background: var(--save-button-bg);
82+
color: var(--save-button-fc); }
83+
.nj-picker .nj-action-container .nj-action-clear {
84+
background: var(--clear-button-bg);
85+
color: var(--clear-button-fc); }
86+
.nj-picker .nj-action-container .nj-action-close {
87+
background: var(--close-button-bg);
88+
color: var(--close-button-fc); }
89+
9090
.nj-picker .nj-header-container {
9191
padding: 0.8em;
9292
background: var(--header-bg);

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.

package-lock.json

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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.nj-overlay {
22
position: fixed;
3-
width: 100%;
4-
height: 100%;
3+
height: 100vh;
4+
width: 100vw;
55
top: 0;
66
left: 0;
77
right: 0;
88
bottom: 0;
9-
background-color: rgba(0, 0, 0, 0.5);
9+
background-color: rgba(138, 67, 67, 0.5);
1010
z-index: 2;
1111
}

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)