Skip to content

Commit

Permalink
add safe area support to .vc-switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Maiz committed Jan 16, 2019
1 parent 049afb7 commit c06012c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/vconsole.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/core/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@
}
}
@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {
.vc-toolbar {
.vc-toolbar,
.vc-switch {
bottom: constant(safe-area-inset-bottom);
bottom: env(safe-area-inset-bottom);
}
Expand Down

0 comments on commit c06012c

Please sign in to comment.