🎨 Improving structure / format of the code
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user