Skip to content

Commit

Permalink
Fix positioning of StakingButton
Browse files Browse the repository at this point in the history
It was overlaying the cashlink button and the tooltip was on top of the mobile menu.
  • Loading branch information
sisou committed Apr 19, 2024
1 parent c5fcdb4 commit a88d34b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/staking/StakingButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,8 @@ export default defineComponent({

<style lang="scss" scoped>
.staking-button {
position: relative;
&::v-deep .tooltip {
position: absolute;
right: 0;
top: -1.25rem;
}
height: 6.75rem;
margin: -1.25rem 0;
}
.stake {
Expand Down Expand Up @@ -148,7 +143,6 @@ export default defineComponent({
}
.tooltip.staking-feature-tip {
z-index: 3;
::v-deep .trigger::after {
background-color: var(--nimiq-gold);
transform: translateY(-0.9rem);
Expand Down

0 comments on commit a88d34b

Please sign in to comment.