Skip to content

Commit

Permalink
release 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
henrygd committed May 1, 2022
1 parent 524ffa9 commit 5ce8eb5
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 158 deletions.
13 changes: 1 addition & 12 deletions dist/bigger-picture.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
touch-action: none;
-webkit-tap-highlight-color: transparent;
}
.bp-wrap * {
contain: strict;
}
.bp-wrap > div:first-child {
position: absolute;
top: 0;
Expand All @@ -23,9 +20,6 @@
background: rgba(0, 0, 0, 0.75);
}

.bp-vid video {
contain: layout;
}
.bp-vid audio {
position: absolute;
left: 14px;
Expand All @@ -43,22 +37,19 @@
display: flex;
align-items: center;
justify-content: center;
contain: layout size;
}

.bp-html {
display: contents;
}
.bp-html * {
contain: unset;
}

.bp-img-wrap {
top: 0;
left: 0;
width: 100%;
height: 100%;
position: absolute;
contain: strict;
}
.bp-img-wrap.bp-drag .bp-img {
cursor: grabbing;
Expand All @@ -75,7 +66,6 @@
user-select: none;
cursor: zoom-in;
background-size: 100% 100%;
transform: translate3d(calc(-50% + var(--x)), calc(-50% + var(--y)), 0px);
}
.bp-img img,
.bp-img div {
Expand Down Expand Up @@ -105,7 +95,6 @@
height: 100%;
pointer-events: none;
text-align: left;
contain: size;
}
.bp-controls button {
pointer-events: auto;
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 5ce8eb5

Please sign in to comment.