Skip to content

Commit a6db83b

Browse files
committed
Revert "fix for issue #3"
This reverts commit cc77593.
1 parent 9f1276c commit a6db83b

File tree

6 files changed

+41
-42
lines changed

6 files changed

+41
-42
lines changed

Changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ 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
1312

14-
## [1.1.100] - 2019-09-28
13+
## v1.1.100 - 2019-09-28
1514
### Added
1615
- Base component
1716
- Minutes configuration
1817
- set and get value methods
1918

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

dist/style.css

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,46 @@
99
--header-text-align: left;
1010
--header-bg: #414141; }
1111

12-
.nj-picker .nj-ampm-container {
13-
padding: 0 0.5em 0.5em 0.5em; }
14-
.nj-picker .nj-ampm-container .nj-ampm-wrapper {
15-
display: grid;
16-
grid-template-columns: repeat(6, 1fr);
17-
grid-gap: 0.5em; }
18-
1912
.nj-overlay {
2013
position: fixed;
21-
height: 100vh;
22-
width: 100vw;
14+
width: 100%;
15+
height: 100%;
2316
top: 0;
2417
left: 0;
2518
right: 0;
2619
bottom: 0;
27-
background-color: rgba(138, 67, 67, 0.5);
20+
background-color: rgba(0, 0, 0, 0.5);
2821
z-index: 2; }
2922

23+
.nj-picker .nj-ampm-container {
24+
padding: 0 0.5em 0.5em 0.5em; }
25+
.nj-picker .nj-ampm-container .nj-ampm-wrapper {
26+
display: grid;
27+
grid-template-columns: repeat(6, 1fr);
28+
grid-gap: 0.5em; }
29+
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); }
47+
3048
.nj-picker {
31-
height: 100vh;
32-
width: 100vw;
33-
position: fixed;
49+
height: 100%;
50+
width: 100%;
51+
position: absolute;
3452
top: 0;
3553
left: 0;
3654
display: none;
@@ -69,24 +87,6 @@
6987
.nj-picker-show {
7088
display: flex !important; }
7189

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-
height: 100vh;
4-
width: 100vw;
3+
width: 100%;
4+
height: 100%;
55
top: 0;
66
left: 0;
77
right: 0;
88
bottom: 0;
9-
background-color: rgba(138, 67, 67, 0.5);
9+
background-color: rgba(0, 0, 0, 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: 100vh;
3-
width: 100vw;
4-
position: fixed;
2+
height: 100%;
3+
width: 100%;
4+
position: absolute;
55
top: 0;
66
left: 0;
77
display: none;

0 commit comments

Comments
 (0)