Skip to content

Commit d13f783

Browse files
authored
Merge pull request #7 from Lenni009/dev
favicons can be dynamic
2 parents 61a23d6 + 28178f2 commit d13f783

File tree

9 files changed

+14
-7
lines changed

9 files changed

+14
-7
lines changed

public/android-chrome-192x192.png

-40.2 KB
Binary file not shown.

public/android-chrome-512x512.png

-155 KB
Binary file not shown.

public/apple-touch-icon.png

-36.2 KB
Binary file not shown.

public/favicon-16x16.png

-861 Bytes
Binary file not shown.

public/favicon-32x32.png

-2.48 KB
Binary file not shown.

public/favicon.ico

-15 KB
Binary file not shown.

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ watch(anyUncompressed, async (newVal) => {
6363
<div class="explanation-wrapper">
6464
<p class="explanation">Compresses images to &lt; 10MB.</p>
6565
<a
66-
role="button"
6766
href="https://nomanssky.fandom.com/wiki/Special:Upload?multiple=true"
67+
role="button"
6868
target="_blank"
6969
rel="noopener noreferrer"
7070
>Open NMS Wiki Image Upload</a
@@ -77,8 +77,8 @@ watch(anyUncompressed, async (newVal) => {
7777
<div class="buttons">
7878
<button
7979
:aria-busy="isCompressing"
80-
:disabled="!files.length || !anyUncompressed"
8180
:class="{ 'is-success': files.length && !anyUncompressed }"
81+
:disabled="!files.length || !anyUncompressed"
8282
@click="compressFiles"
8383
>
8484
{{ files.length && !anyUncompressed ? 'All compressed!' : 'Compress' }}

src/components/FileUpload.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,12 @@ function addFiles(uploadedFiles: FileList) {
7474
7575
&:hover,
7676
&.drag-active {
77-
border-style: solid;
78-
border-width: 3px;
77+
border: 3px solid;
7978
}
8079
8180
.drop-title {
8281
font-weight: bold;
8382
text-align: center;
84-
transition: color 0.2s ease-in-out;
8583
}
8684
8785
input[type='file'] {
@@ -93,7 +91,6 @@ function addFiles(uploadedFiles: FileList) {
9391
9492
&::file-selector-button {
9593
padding: 10px 20px;
96-
transition: background-color 0.2s ease-in-out;
9794
}
9895
}
9996
}

src/css/style.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
.container {
22
margin-block-start: 1rem;
33
margin-block-end: 2rem;
4-
}
4+
}
5+
6+
body {
7+
scrollbar-gutter: stable;
8+
}
9+
10+
* {
11+
transition:
12+
background-color 0.3s,
13+
color 0.3s;
14+
}

0 commit comments

Comments
 (0)