🎨 Improving structure / format of the code

This commit is contained in:
Liyas Thomas
2020-02-18 23:56:22 +05:30
parent 392c97f35f
commit 0b6671d538
3 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.87); background-color: rgba(0, 0, 0, 0.32);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

View File

@@ -458,7 +458,8 @@
:disabled="!isValidURL" :disabled="!isValidURL"
v-tooltip.bottom="$t('copy_request_link')" 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>
<button <button
class="icon" class="icon"
@@ -1509,7 +1510,8 @@ export default {
fb, fb,
customMethod: false, customMethod: false,
files: [], files: [],
filenames: "" filenames: "",
navigatorShare: navigator.share
}; };
}, },
watch: { watch: {

View File

@@ -270,7 +270,7 @@ export default {
aceEditor: "vibrant_ink" aceEditor: "vibrant_ink"
}, },
{ {
color: "var(--bg-color)", color: "var(--ac-color)",
name: this.$t("auto_system"), name: this.$t("auto_system"),
vibrant: window.matchMedia("(prefers-color-scheme: light)").matches, vibrant: window.matchMedia("(prefers-color-scheme: light)").matches,
class: "auto", class: "auto",