Skip to content

fix safe area#163

Open
AliAlaqrabawi3 wants to merge 2 commits intomasterfrom
fix-safe-area
Open

fix safe area#163
AliAlaqrabawi3 wants to merge 2 commits intomasterfrom
fix-safe-area

Conversation

@AliAlaqrabawi3
Copy link
Contributor

No description provided.

widget/app.js Outdated
navbar.style.transform = 'translateY(-100%)';
const safeAreaTopValue = getComputedStyle(document.documentElement).getPropertyValue('--bf-safe-area-inset-top').trim();
if (parseFloat(safeAreaTopValue)) {
navbar.style.transform = 'translateY(calc(-150% - var(--bf-safe-area-inset-top)))';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

50px - var(--bs-safe-area-inset-top)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants