Skip to content

Commit

Permalink
Merge pull request #93 from santiment/fix/ipad-issues
Browse files Browse the repository at this point in the history
Fixed issues with styles on iPad
  • Loading branch information
Woafflation authored Jun 9, 2022
2 parents 61a8c48 + bf184ae commit 34c86ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/components/Editor/Bottom.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,18 @@
.bottom {
position: fixed;
bottom: 0;
right: calc(50% - 570px);
right: 10%;
background: linear-gradient(270deg, var(--white) 83%, transparent 100%);
padding: 15px 0;
padding-left: 80px;
}
:global(.isMobile) .bottom,
:global(.phone) .bottom,
:global(.phone-xs) .bottom {
bottom: 60px;
}
.pulse {
--color-hover: var(--black);
}
Expand Down
5 changes: 4 additions & 1 deletion src/routes/_layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@
flex: 1;
width: 100%;
}
:global(.isMobile) main {
:global(.isMobile) main,
:global(.tablet) main,
:global(.phone) main,
:global(.phone-xs) main {
padding: 16px 16px 76px;
}
</style>

0 comments on commit 34c86ae

Please sign in to comment.