Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

fix: address truncation in transaction table #960

Merged
merged 2 commits into from Jan 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/renderer/components/Transaction/TransactionTable.vue
Expand Up @@ -112,7 +112,6 @@
<div
v-else-if="data.column.field === 'sender'"
:class="[ isDashboard ? 'dashboard-address' : 'max-w-xxs' ]"
class="overflow-hidden truncate"
>
<WalletAddress
:address="data.row.sender"
Expand All @@ -124,7 +123,6 @@
<div
v-else-if="data.column.field === 'recipient'"
:class="[ isDashboard ? 'dashboard-address' : 'max-w-xxs' ]"
class="overflow-hidden truncate"
>
<WalletAddress
:address="data.row.recipient"
Expand Down
8 changes: 7 additions & 1 deletion src/renderer/components/Wallet/WalletAddress.vue
@@ -1,6 +1,6 @@

<template>
<span class="flex items-center">
<span class="WalletAddress flex items-center">
<span v-if="!type">
<a
v-tooltip="{
Expand Down Expand Up @@ -161,3 +161,9 @@ export default {
}
}
</script>

<style lang="postcss" scoped>
.WalletAddress > span {
@apply truncate
}
</style>