Skip to content

Commit

Permalink
release 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed Jul 10, 2022
1 parent 7c7d969 commit a55aa5a
Show file tree
Hide file tree
Showing 7 changed files with 322 additions and 533 deletions.
16 changes: 12 additions & 4 deletions dist/bigger-picture.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,21 @@
display: none;
}

.zoomed .bp-img {
.bp-zoomed .bp-img {
cursor: grab;
}
.zoomed .bp-cap {
.bp-zoomed .bp-cap {
opacity: 0;
animation: none !important;
}

.bp-zoomed.bp-small .bp-controls {
opacity: 0;
}
.bp-zoomed.bp-small .bp-controls button {
pointer-events: none;
}

.bp-controls {
position: absolute;
top: 0;
Expand All @@ -121,6 +128,7 @@
height: 100%;
pointer-events: none;
text-align: left;
transition: opacity 0.3s;
animation: bp-fadein 0.3s;
}
.bp-controls button {
Expand Down Expand Up @@ -283,10 +291,10 @@
.bp-noclose .bp-x {
display: none;
}
.bp-noclose:not(.zoomed) {
.bp-noclose:not(.bp-zoomed) {
touch-action: pan-y;
}
.bp-noclose:not(.zoomed) .bp-img-wrap {
.bp-noclose:not(.bp-zoomed) .bp-img-wrap {
cursor: zoom-in;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/bigger-picture.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bigger-picture.min.mjs

Large diffs are not rendered by default.

Loading

0 comments on commit a55aa5a

Please sign in to comment.