Skip to content

Commit

Permalink
fix: mobile size in widget.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MGrgr committed May 6, 2022
1 parent 5dd3a01 commit 76abe14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/js/widget.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/assets/scss/components/_staking.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
&__title {
font-size: 13px;
@media (max-width: 443px) {
height: 23px;
order: 2;
width: 100%;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/staking/stake/StakeBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<q-card class="stake-box shadow-sm q-px-none q-py-sm">
<q-card-section class="stake-box__top-section">
<div class="row justify-between items-center q-mb-xs">
<div class="column">
<div class="stake-box__title q-mt-sm"> Balance: {{ availableSol }} SOL </div>
<div class="stake-box__title q-mt-sm column">
<div> Balance: {{ availableSol }} SOL </div>
<div
v-if="connected && Number(stake.from) > Number(availableSol)"
class="stake-box__warning col-auto"
Expand Down
2 changes: 1 addition & 1 deletion src/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ window.onload = function () {
const stakingKiwiWidthDesk = '470px';
const stakingKiwiHeightDesk = '302px';
const stakingKiwiWidthMob = `${stakingKiwiWidthMobNum}px`;
const stakingKiwiHeightMob = '466px';
const stakingKiwiHeightMob = '487px';
let stakingKiwiIframeHeight = stakingKiwiHeightDesk;
let stakingKiwiIframeWidth = stakingKiwiWidthDesk;
const stakingKiwiOnResize = function () {
Expand Down

0 comments on commit 76abe14

Please sign in to comment.