mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
update(card title): change card title link to detail instead of website
fix(mobile-filter): scroll only in filters not whole page
This commit is contained in:
parent
6f70344af4
commit
79d31b8e56
3 changed files with 3 additions and 7 deletions
|
@ -62,8 +62,6 @@ const projectItems: { label: string | string[], type: string, rating?: ProjectRa
|
||||||
flex
|
flex
|
||||||
items-center
|
items-center
|
||||||
gap-8px
|
gap-8px
|
||||||
|
|
||||||
@click.prevent="navigateTo(project.website, { external: true, open: { target: '_blank' } })"
|
|
||||||
>
|
>
|
||||||
<h1
|
<h1
|
||||||
flex
|
flex
|
||||||
|
@ -74,12 +72,9 @@ const projectItems: { label: string | string[], type: string, rating?: ProjectRa
|
||||||
hover:underline
|
hover:underline
|
||||||
underline-offset-3
|
underline-offset-3
|
||||||
leading="20px lg:32px"
|
leading="20px lg:32px"
|
||||||
class="group relative inline-block"
|
class="relative inline-block"
|
||||||
>
|
>
|
||||||
{{ project.title1 }}
|
{{ project.title1 }}
|
||||||
<div
|
|
||||||
class=" i-bx-link-external ml-4px text-14px opacity-0 group-hover:opacity-100 transition-opacity"
|
|
||||||
/>
|
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<p
|
<p
|
||||||
|
|
|
@ -50,7 +50,6 @@ const cardTitles = ref< { label: string, sortKey: string, togglable?: boolean }[
|
||||||
gap-x-12px
|
gap-x-12px
|
||||||
w-full
|
w-full
|
||||||
mb="8px lg:16px"
|
mb="8px lg:16px"
|
||||||
mt-22px
|
|
||||||
>
|
>
|
||||||
<h2
|
<h2
|
||||||
text="app-white 16px lg:24px"
|
text="app-white 16px lg:24px"
|
||||||
|
|
|
@ -81,6 +81,8 @@ watch([scrollY, top, y], (newValues, oldValues) => {
|
||||||
flex
|
flex
|
||||||
items-center
|
items-center
|
||||||
gap-16px
|
gap-16px
|
||||||
|
overflow-x-auto
|
||||||
|
pb="24px md:0"
|
||||||
>
|
>
|
||||||
<CategorySelectBox
|
<CategorySelectBox
|
||||||
v-model="selectedCategoryId"
|
v-model="selectedCategoryId"
|
||||||
|
|
Loading…
Reference in a new issue