Skip to content

Commit

Permalink
Merge pull request #42 from XiongAmao/fix-style-error
Browse files Browse the repository at this point in the history
Fix style error
  • Loading branch information
XiongAmao authored May 5, 2020
2 parents 540b044 + 2269546 commit 1d030b9
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.12.0] (5 May 2020)

- Fix: Style error on firfox mobile.

## [0.11.0] (27 March 2020)

- Feat: add prev/next btn click event (`on-prev-click`/`on-next-click`) and index change event(`on-index-change`), these events will return `oldIndex` & `newIndex`.
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.es5.common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.es5.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.es5.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-easy-lightbox.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-easy-lightbox",
"version": "0.11.0",
"version": "0.12.0",
"description": "A Vue.js image lightbox component with Zoom / Drag / Rotate / Switch",
"private": false,
"author": "Zichao Xiong <[email protected]>",
Expand Down
1 change: 1 addition & 0 deletions src/components/toobar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
padding: 0;
.toobar-btn {
user-select: none;
flex-shrink: 0;
cursor: pointer;
padding: 6px 10px;
Expand Down
3 changes: 3 additions & 0 deletions src/vue-easy-lightbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@
}
.#{$prefix-cls}-img-wrapper {
user-select: none;
margin: 0;
position: absolute;
top: 50%;
Expand All @@ -521,6 +522,7 @@
}
.#{$prefix-cls}-img {
user-select: none;
max-width: 80vw;
max-height: 80vh;
vertical-align: middle;
Expand All @@ -540,6 +542,7 @@
.btn__prev,
.btn__next,
.btn__close {
user-select: none;
position: absolute;
top: 50%;
transform: translateY(-50%);
Expand Down

0 comments on commit 1d030b9

Please sign in to comment.