Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow wallet chooser to wrap #838

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/staking/WalletChooser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div :class="{'is-active': showDialog}" class="modal has-text-white">
<div class="modal-background"/>
<div class="modal-content" style="width: 768px; border-radius: 16px">
<div class="modal-content" style="width: 634px; border-radius: 16px">
<div class="box">
<div class="is-flex is-justify-content-space-between is-align-items-self-end">
<span class="h-is-primary-title">Connect Wallet</span>
Expand All @@ -36,7 +36,7 @@
</div>
<hr class="h-card-separator"/>

<div class="is-flex is-justify-content-left is-align-items-center">
<div class="is-flex is-justify-content-left is-align-items-center is-flex-wrap-wrap">
<div v-for="d in drivers" :key="d.name">
<a :id="d.name" @click="chosenWallet=d" @dblclick="handleConnect">
<figure :class="{'selected':isSelected(d)}" class="h-chooser-figure my-4 mr-6">
Expand All @@ -46,7 +46,7 @@
</div>
</div>

<div class="is-flex is-justify-content-flex-end">
<div class="is-flex is-justify-content-flex-end mt-4">
<button id="cancelButton" class="button is-white is-small" @click="handleCancel">CANCEL</button>
<button id="connectButton" :disabled="!chosenWallet" class="button is-info is-small ml-4" @click="handleConnect">CONNECT
</button>
Expand Down