Skip to content

Commit

Permalink
iPad fixed bg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
radogado committed May 12, 2023
1 parent 5875659 commit 5011a3e
Show file tree
Hide file tree
Showing 16 changed files with 171 additions and 158 deletions.
2 changes: 1 addition & 1 deletion css/guide.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions css/niui-core.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/niui-core.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion css/niui-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ body.n-sticky-footer {
}
}

// iPad disappearing fixed background
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
.n-fixed-bg__backdrop img {
transform: translate3d(0, 0, 0);
}
}

.n-fixed {
position: fixed;

Expand Down Expand Up @@ -143,7 +150,8 @@ a[href].span-relative-parent {
--nui-shadow-size: 0px;
--nui-shadow-blur: 0;
--nui-shadow-color: var(--nui-control-color);
--nui-border-color: transparent;}
--nui-border-color: transparent;
}

@mixin dark-theme {
--nui-color: var(--nui-color-dark);
Expand Down
2 changes: 1 addition & 1 deletion dist/niui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.css.size
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14216
14339
2 changes: 1 addition & 1 deletion dist/niui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/niui.min.js.size
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12500
12491
288 changes: 144 additions & 144 deletions js/niui.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/niui.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion niui-wp/niui-wp.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion niui-wp/niui-wp.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion niui-wp/niui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion niui-wp/niui.min.js.map

Large diffs are not rendered by default.

0 comments on commit 5011a3e

Please sign in to comment.