Merge pull request #412 from alisaweb3/v3-single

Wallet show, Page min-height
This commit is contained in:
ping 2023-05-31 06:31:08 +08:00 committed by GitHub
commit 8f3dc7d264
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -263,7 +263,7 @@ const showDiscord = window.location.host.search('ping.pub') > -1;
</a> </a>
</div> </div>
</div> </div>
<div class="xl:!ml-64 px-5 pt-4"> <div class="xl:!ml-64 px-5 pt-4 min-h-screen">
<!-- header --> <!-- header -->
<div <div
class="flex items-center py-3 bg-base-100 mb-4 rounded px-4 sticky top-0 z-10 shadow" class="flex items-center py-3 bg-base-100 mb-4 rounded px-4 sticky top-0 z-10 shadow"
@ -295,5 +295,6 @@ const showDiscord = window.location.host.search('ping.pub') > -1;
<newFooter /> <newFooter />
</div> </div>
</div> </div>
</template> </template>

View File

@ -80,10 +80,10 @@ const tipMsg = computed(() => {
to="/wallet/portfolio" to="/wallet/portfolio"
>Portfolio</RouterLink >Portfolio</RouterLink
> >
<div v-if="walletStore.currentAddress" class="divider mt-1 mb-1"></div> <div v-if="walletStore.currentAddress" class="divider mt-1 mb-1 hidden md:block"></div>
<a <a
v-if="walletStore.currentAddress" v-if="walletStore.currentAddress"
class="py-1 px-1 block md:!py-2 md:!px-2 hover:bg-gray-100 dark:hover:bg-[#353f5a] rounded cursor-pointer" class="hidden md:block py-1 px-1 md:!py-2 md:!px-2 hover:bg-gray-100 dark:hover:bg-[#353f5a] rounded cursor-pointer"
@click="walletStore.disconnect()" @click="walletStore.disconnect()"
>Disconnect</a >Disconnect</a
> >