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 responsive twin page issue #1620

Merged
merged 3 commits into from
Dec 10, 2023
Merged
Changes from 2 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
9 changes: 6 additions & 3 deletions packages/playground/src/dashboard/twin_view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<v-card>
<v-list class="custom-list">
<v-row>
<v-col cols="1" sm="2" class="column-style my-4">
<v-col cols="1" sm="2" class="column-style my-4" style="min-width: fit-content">
<input-tooltip
tooltip="Your unique identifier for your twin on the ThreeFold chain."
:align-center="true"
Expand Down Expand Up @@ -64,12 +64,14 @@
<v-list-item class="mr-auto"> Relay </v-list-item>
</input-tooltip>
</v-col>
<v-col cols="1" sm="10" class="my-4">
<v-col class="my-4">
<v-list-item> {{ profileManager.profile?.twinId.toString() }} </v-list-item>
<v-divider></v-divider>
<v-list-item>
<div style="display: flex; justify-content: space-between; align-items: center">
<span>{{ profileManager.profile?.address }}</span>
<div class="pr-2" style="overflow: hidden; word-wrap: normal">
<span>{{ profileManager.profile?.address }}</span>
</div>
<v-icon @click="copy(profileManager.profile?.address as string)"> mdi-content-copy </v-icon>
</div>
</v-list-item>
Expand All @@ -90,6 +92,7 @@
import { generatePublicKey } from "@threefold/rmb_direct_client";
import { onMounted, ref } from "vue";

import CopyReadonlyInput from "../components/copy_readonly_input.vue";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This import is not used

import router from "../router";
import { useProfileManager } from "../stores";
import type { FarmInterface } from "../types";
Expand Down