Skip to content

Commit e725cbd

Browse files
authored
update calculator at mobile (#3849)
1 parent 915e685 commit e725cbd

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

packages/playground/src/calculator/pricing_calculator.vue

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@
104104
/>
105105
</InputTooltip>
106106
</VCol>
107+
</VRow>
107108

108-
<VCol lg="4" md="4" sm="12">
109+
<VRow class="x_small">
110+
<VCol lg="4" md="6" sm="12" xs="12">
109111
<InputTooltip
110112
inline
111113
tooltip=" A certified node will receive 25% more reward compared to a non-certified node."
@@ -114,7 +116,7 @@
114116
</InputTooltip>
115117
</VCol>
116118

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

126128
<VCol
127129
lg="4"
128-
md="4"
130+
md="6"
129131
sm="12"
132+
xs="12"
130133
v-if="userBalance"
131134
@vue:unmounted="
132135
resources.useCurrentBalance = true;
@@ -360,15 +363,22 @@ export default {
360363
padding: 10px 0;
361364
}
362365
366+
.x_small {
367+
display: flex !important;
368+
}
363369
.card {
364370
background: white;
365371
border: 1px solid #ccc;
366372
border-radius: 5px;
367373
}
368374
369-
@media (max-width: 425px) {
375+
@media (max-width: 600px) {
370376
.v-col {
371377
flex-basis: auto !important;
372378
}
379+
380+
.x_small {
381+
display: block !important;
382+
}
373383
}
374384
</style>

0 commit comments

Comments
 (0)