Skip to content

Commit

Permalink
fix #1445
Browse files Browse the repository at this point in the history
  • Loading branch information
bassemmagdy committed Jun 10, 2021
1 parent f36db6b commit bbb0f40
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<template>
<div class="detail-row">
<div :class="[$route.fullPath === '/delegatedHarvesting' ? 'account-detail-harvesting' : 'account-detail-row-3cols']">
<div
:class="[
$route.fullPath === '/delegatedHarvesting'
? hasPlainPrivateKey && !hasAccountUnlockModal
? 'account-detail-harvesting'
: 'account-detail-harvesting-locked'
: 'account-detail-row-3cols',
]"
>
<span v-if="$route.fullPath !== '/delegatedHarvesting'" class="label">{{ $t('private_key') }}</span>
<span v-if="hasPlainPrivateKey" class="value accountPublicKey">{{ plainInformation }}</span>
<span v-if="hasPlainPrivateKey">
Expand Down Expand Up @@ -71,6 +79,10 @@ export default class ProtectedPrivateKeyDisplay extends ProtectedPrivateKeyDispl
display: grid;
grid-template-columns: 5rem auto;
}
.account-detail-harvesting-locked {
display: grid;
grid-template-columns: 6rem auto;
}
.not-linked-input {
padding-left: 0.15rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,7 @@ export default class FormMosaicSupplyChangeTransaction extends FormMosaicSupplyC
height: 0.3rem !important;
width: 1.2rem;
}
/deep/.form-row-inner-container {
grid-template-columns: 3rem 6.5rem !important;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ a:hover {
padding-left: 0.15rem;
padding-top: 4px;
float: left;
margin-top: 7px;
}

.separtate-spacing {
Expand Down

0 comments on commit bbb0f40

Please sign in to comment.