Skip to content

Commit

Permalink
fix stake today card 2 (#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtg7784 committed Jun 25, 2024
1 parent f659b7f commit 3113969
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/staking-v3/components/VotingPeriodSideAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div>
<button :disabled="isZkEvm" class="button--vote-stake" @click="navigateToVote()">
<span class="card--stake-today">
<span>
{{ $t('stakingV3.stakeTodayFormatted') }}
</span>
<vote-stake-button-bg />
Expand Down Expand Up @@ -87,10 +87,14 @@ export default defineComponent({
&:hover {
filter: brightness(1.2);
}
span {
position: relative;
display: block;
z-index: 1;
white-space: pre;
}
#iframe {
position: absolute;
z-index: 0;
Expand All @@ -103,9 +107,4 @@ export default defineComponent({
}
}
}
.card--stake-today {
white-space: pre;
min-height: 100%;
}
</style>

0 comments on commit 3113969

Please sign in to comment.