Fix share button for new theme update

This commit is contained in:
dragongoose 2023-09-25 16:48:27 -04:00
parent fb42aa24ba
commit 0ecc6ebf72
No known key found for this signature in database
GPG Key ID: 01397EEC371CDAA5
4 changed files with 7 additions and 7 deletions

View File

@ -73,7 +73,7 @@ export default {
<template> <template>
<div class="fixed top-0 bottom-0 left-0 right-0 flex w-full z-50 h-[100vh] bg-opacity-50 bg-black"> <div class="fixed top-0 bottom-0 left-0 right-0 flex w-full z-50 h-[100vh] bg-opacity-50 bg-black">
<div class="bg-ctp-crust my-auto h-min mx-auto w-[35rem] max-w-[95vw] p-5 rounded-md relative z-50 text-white"> <div class="bg-crust my-auto h-min mx-auto w-[35rem] max-w-[95vw] p-5 rounded-md relative z-50 text-white">
<div class="flex justify-between"> <div class="flex justify-between">
<h1 class="text-3xl font-bold">Share</h1> <h1 class="text-3xl font-bold">Share</h1>
<button @click="$emit('close')"> <button @click="$emit('close')">
@ -81,7 +81,7 @@ export default {
</button> </button>
</div> </div>
<hr class="my-2" /> <hr class="my-2" />
<div class="flex bg-ctp-surface0 p-3 rounded-md h-12 overflow-x-scroll whitespace-nowrap"> <div class="flex bg-surface0 p-3 rounded-md h-12 overflow-x-scroll whitespace-nowrap">
<p class="" ref="urlPreview"> <p class="" ref="urlPreview">
{{ currentUrl + path + query }} {{ currentUrl + path + query }}
</p> </p>
@ -99,8 +99,8 @@ export default {
</ul> </ul>
<div class="space-x-2 mt-1"> <div class="space-x-2 mt-1">
<button class="p-2 py-1.5 bg-ctp-surface0 rounded-md" @click="copyUrl()">Copy Link</button> <button class="p-2 py-1.5 bg-surface0 rounded-md" @click="copyUrl()">Copy Link</button>
<button class="p-2 py-1.5 bg-ctp-surface0 rounded-md" @click="gotoUrl()" >Go to</button> <button class="p-2 py-1.5 bg-surface0 rounded-md" @click="gotoUrl()" >Go to</button>
</div> </div>
</div> </div>
</div> </div>

View File

@ -128,7 +128,7 @@ export default {
</p> </p>
</div> </div>
<button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple-600"> <button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple">
<v-icon name="fa-share-alt"></v-icon> <v-icon name="fa-share-alt"></v-icon>
</button> </button>
</div> </div>

View File

@ -175,7 +175,7 @@ export default {
{{ abbreviate(data.followers) }} {{ $t('main.followers') }} {{ abbreviate(data.followers) }} {{ $t('main.followers') }}
</p> </p>
<button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple-600"> <button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple">
<v-icon name="fa-share-alt"></v-icon> <v-icon name="fa-share-alt"></v-icon>
</button> </button>
</div> </div>

View File

@ -128,7 +128,7 @@ export default {
</div> </div>
<button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple-600"> <button @click="toggleShareModal" class="px-2 py-1.5 rounded-lg bg-purple">
<v-icon name="fa-share-alt"></v-icon> <v-icon name="fa-share-alt"></v-icon>
</button> </button>
</div> </div>