Skip to content

Commit

Permalink
Merge pull request #9098 from hassnian/issue-9092
Browse files Browse the repository at this point in the history
fix: top collection mobile chain dropdown
  • Loading branch information
yangwao committed Jan 22, 2024
2 parents b935db3 + f76f5fa commit 0f0ebfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions components/common/ChainDropdown.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<NeoDropdown :position="position" :mobile-modal="mobileModal">
<NeoDropdown :position="position">
<template #trigger="{ active }">
<NeoButton
class="chain-dropdown-text"
Expand Down Expand Up @@ -31,9 +31,8 @@ import { type Prefix } from '@kodadot1/static'
const props = withDefaults(
defineProps<{
showNetworkLabel: boolean
position?: 'bottom-left'
position?: 'bottom-auto'
redirect?: boolean
mobileModal?: boolean
exclude: Prefix[]
}>(),
{
Expand Down
5 changes: 2 additions & 3 deletions components/landing/topCollections/TopCollections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
</div>
<div class="pt-2">
<ChainDropdown
position="bottom-left"
position="bottom-auto"
:show-network-label="false"
:redirect="false"
:exclude="['ksm']"
mobile-modal />
:exclude="['ksm']" />
</div>
</div>

Expand Down

0 comments on commit 0f0ebfa

Please sign in to comment.