Skip to content

Commit 652487b

Browse files
authored
Merge pull request #97 from codeitcodes/dev
Dev
2 parents f5950cf + 01e11c3 commit 652487b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

bottomfloat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pushWrapper.addEventListener('click', () => {
8282
playPushAnimation(pushWrapper);
8383

8484
// push file
85-
pushFileFromHTML(selectedEl);
85+
pushFileFromHTML(selectedEl, ('Update ' + selectedEl.innerText));
8686

8787
}
8888

full.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ body.notransition .bottom-wrapper {
225225

226226
.bottom-float .download {
227227
background: hsl(0deg 0% 100% / 5%);
228-
border-left: 1px solid hsl(0deg 0% 100% / 3%);
228+
box-shadow: inset 1px 0 0 0 hsl(0deg 0% 100% / 3%);
229229
border-radius: 0 20px 20px 0;
230230
width: 65px;
231231
box-sizing: border-box;
@@ -482,6 +482,7 @@ body.notransition .live-view.file-open {
482482

483483
.live-view .prompt {
484484
text-align: center;
485+
padding: 0 10px;
485486
}
486487

487488
.live-view .prompt .file-svg {

live-view/live-view.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ function addBottomSwipeListener() {
313313
if (direction == 'up') {
314314

315315
// if swiped up and bottom float isn't expanded
316-
if (swiped && !bottomWrapper.classList.contains('expanded')) {
316+
if (swiped && !bottomWrapper.classList.contains('expanded')
317+
&& !bottomFloat.classList.contains('file-open')) {
317318

318319
swiped = false;
319320

@@ -339,7 +340,8 @@ function addBottomSwipeListener() {
339340
} else if (direction == 'down') {
340341

341342
// if swiped down and bottom float is expanded
342-
if (swiped && bottomWrapper.classList.contains('expanded')) {
343+
if (swiped && bottomWrapper.classList.contains('expanded')
344+
&& !bottomFloat.classList.contains('file-open')) {
343345

344346
swiped = false;
345347

service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
// update cache names any time any of the cached files change
4-
const CACHE_NAME = 'static-cache-v294';
4+
const CACHE_NAME = 'static-cache-v295';
55

66
// list of files to cache
77
const FILES_TO_CACHE = [

0 commit comments

Comments
 (0)