Skip to content

Commit

Permalink
feat: top safe area for lang popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sestea committed Nov 17, 2024
1 parent 7c230f6 commit 84bf738
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions src/assets/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ img {
}
}

// Safe Area
.safe-area {
padding-top: env(safe-area-inset-top, 0px);
padding-bottom: env(safe-area-inset-bottom, 0px);
}

//collapse
.nut-collapse-item {
.collapse-item.collapse-item {
Expand Down
1 change: 1 addition & 0 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
position="top"
v-model:visible="showLangSwitchPopup"
z-index="1000"
:style="{ paddingTop: 'env(safe-area-inset-top)' }"
>
<nut-cell-group>
<div
Expand Down

0 comments on commit 84bf738

Please sign in to comment.