Skip to content

Commit

Permalink
update calculator at mobile (#3849)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehab-hassan authored Feb 2, 2025
1 parent 915e685 commit e725cbd
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/playground/src/calculator/pricing_calculator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@
/>
</InputTooltip>
</VCol>
</VRow>

<VCol lg="4" md="4" sm="12">
<VRow class="x_small">
<VCol lg="4" md="6" sm="12" xs="12">
<InputTooltip
inline
tooltip=" A certified node will receive 25% more reward compared to a non-certified node."
Expand All @@ -114,7 +116,7 @@
</InputTooltip>
</VCol>

<VCol lg="4" md="4" sm="12">
<VCol lg="4" md="6" sm="12" xs="12">
<InputTooltip
inline
tooltip="An Internet Protocol version 4 address that is globally unique and accessible over the internet"
Expand All @@ -125,8 +127,9 @@

<VCol
lg="4"
md="4"
md="6"
sm="12"
xs="12"
v-if="userBalance"
@vue:unmounted="
resources.useCurrentBalance = true;
Expand Down Expand Up @@ -360,15 +363,22 @@ export default {
padding: 10px 0;
}
.x_small {
display: flex !important;
}
.card {
background: white;
border: 1px solid #ccc;
border-radius: 5px;
}
@media (max-width: 425px) {
@media (max-width: 600px) {
.v-col {
flex-basis: auto !important;
}
.x_small {
display: block !important;
}
}
</style>

0 comments on commit e725cbd

Please sign in to comment.