Skip to content

Commit

Permalink
Merge pull request #2150 from threefoldtech/development_profile_manager
Browse files Browse the repository at this point in the history
fix TFChain wallet card dimension
  • Loading branch information
samaradel authored Feb 14, 2024
2 parents c2b7cba + ac05b99 commit babaeb7
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions packages/playground/src/weblets/profile_manager.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<VDialog
scrollable
width="60%"
width="1024"
class="mx-auto"
:model-value="$props.modelValue"
@update:model-value="$emit('update:model-value', $event)"
>
Expand Down Expand Up @@ -143,7 +143,7 @@
:disable-validation="creatingAccount || activatingAccount || activating"
>
<v-row>
<v-col cols="10">
<v-col cols="12" md="9">
<div v-bind="tooltipProps">
<VTextField
:append-icon="!enableReload && !activatingAccount && mnemonic !== '' ? 'mdi-reload' : ''"
Expand Down Expand Up @@ -173,7 +173,7 @@
>
</div>
</v-col>
<v-col cols="2">
<v-col cols="12" md="3">
<v-tooltip
location="top"
text="Using different keypair types will lead to a completely different account."
Expand All @@ -192,7 +192,7 @@
</v-col>
</v-row>

<div class="d-flex justify-end mb-10">
<div class="d-flex flex-column flex-md-row justify-end mb-10">
<v-tooltip>
<template v-slot:activator="{ isActive, props }">
<VBtn
Expand Down Expand Up @@ -338,8 +338,8 @@
</DTabs>

<template v-if="profileManager.profile">
<v-row class="justify-space-around py-2 pb-5">
<v-col cols="7" sm="12" md="12" lg="7">
<v-row>
<v-col cols="12" sm="6">
<PasswordInputWrapper #="{ props }">
<VTextField
:label="profileManager.profile.mnemonic.startsWith('0x') ? 'Your Hex Seed' : 'Your Mnemonic'"
Expand All @@ -358,9 +358,9 @@
<VTextField label="Address" readonly v-model="profileManager.profile.address" v-bind="props" />
</CopyInputWrapper>
</v-col>
<v-divider class="mx-4" vertical></v-divider>
<v-divider class="hidden-sm-and-down" vertical></v-divider>

<v-col cols="12" lg="4">
<v-col cols="12" sm="6">
<section class="d-flex flex-column align-center">
<p class="mb-4 text-center">
Scan the QR code using
Expand Down Expand Up @@ -832,4 +832,11 @@ export default {
width: 8rem !important;
}
}
@media only screen and (max-width: 600px) {
html,
.v-btn {
font-size: 0.875rem !important;
}
}
</style>

0 comments on commit babaeb7

Please sign in to comment.