Skip to content

Commit

Permalink
Merge pull request #11 from MyTonSwap/develop
Browse files Browse the repository at this point in the history
Fix modal size issue for desktop
  • Loading branch information
Ho3einWave authored Nov 21, 2024
2 parents 3246a31 + 5926725 commit b8cac3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
18 changes: 1 addition & 17 deletions lib/components/SwapButton/SwapButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
max-width: 28.125rem;
height: 100%;
max-height: 80%;
max-height: 23.75rem;
max-height: 30rem;
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
border-radius: 0.75rem;
}
Expand Down Expand Up @@ -70,14 +70,6 @@

@media screen and (min-width: 768px) {
.mytonswap-app {
.modal-container {
.modal-container-inner {
height: 100%;
max-height: 80%;
max-height: 25rem;
border-radius: 1rem;
}
}
.swap-button {
height: 3.25rem;
font-size: var(--font-size-md);
Expand All @@ -87,14 +79,6 @@

@media screen and (min-width: 1024px) {
.mytonswap-app {
.modal-container {
.modal-container-inner {
height: 100%;
max-height: 80%;
max-height: 26.25rem;
border-radius: 1rem;
}
}
.swap-button {
height: 3.5rem;
border-radius: 1rem;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mytonswap/widget",
"description": "MyTonSwap Widget - Easy to use swap widget for React on TON Blockchain",
"version": "2.0.15",
"version": "2.0.16",
"type": "module",
"author": {
"name": "MyTonSwap",
Expand Down

0 comments on commit b8cac3d

Please sign in to comment.