Skip to content

Commit

Permalink
Merge pull request #309 from cashubtc/fix-margin-safe-area
Browse files Browse the repository at this point in the history
fix notification margin
  • Loading branch information
callebtc authored Dec 30, 2024
2 parents cde9117 + 8a52b02 commit 804cd4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist
src-capacitor
src-cordova
android
ios
5 changes: 2 additions & 3 deletions src/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ body {
overscroll-behavior-y: contain;
}

// margin for top elements for ios safe area
body,
.q-drawer,
.q-header,
.q-dialog__inner > div,
.q-notification {
.q-dialog__inner > div {
margin-top: var(--safe-area-inset-top);
// margin-top: 100px; // for testing
}

.q-dialog__inner > div {
Expand Down

0 comments on commit 804cd4a

Please sign in to comment.