Skip to content

Commit

Permalink
🎨 Improving structure / format of the code
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed Feb 18, 2020
1 parent 392c97f commit 0b6671d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.87);
background-color: rgba(0, 0, 0, 0.32);
display: flex;
align-items: center;
justify-content: center;
Expand Down
6 changes: 4 additions & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@
:disabled="!isValidURL"
v-tooltip.bottom="$t('copy_request_link')"
>
<i class="material-icons">file_copy</i>
<i v-if="navigatorShare" class="material-icons">share</i>
<i v-else class="material-icons">file_copy</i>
</button>
<button
class="icon"
Expand Down Expand Up @@ -1509,7 +1510,8 @@ export default {
fb,
customMethod: false,
files: [],
filenames: ""
filenames: "",
navigatorShare: navigator.share
};
},
watch: {
Expand Down
2 changes: 1 addition & 1 deletion pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default {
aceEditor: "vibrant_ink"
},
{
color: "var(--bg-color)",
color: "var(--ac-color)",
name: this.$t("auto_system"),
vibrant: window.matchMedia("(prefers-color-scheme: light)").matches,
class: "auto",
Expand Down

0 comments on commit 0b6671d

Please sign in to comment.