Skip to content

Commit

Permalink
fix(menu): support safe-area at the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Jan 27, 2021
1 parent 7804baa commit bda4d99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Menu/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
ion-menu ion-content {
--padding-bottom: 20px;
--padding-top: 20px;
--padding-bottom: var(
--ion-safe-area-bottom,
calc(2 * var(--ion-padding-bottom, 20px))
);
}

ion-menu ion-list ion-label {
Expand Down

0 comments on commit bda4d99

Please sign in to comment.