Skip to content

Commit

Permalink
Remove hacky fix for the android pages height issue (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
smalluban authored Feb 13, 2024
1 parent 05b2fa4 commit 4d0d4a5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/ui/src/modules/settings/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ function scrollToTop({ main }) {
main.scrollTop = 0;
}

const isAndroidFirefoxBrowser =
!!navigator?.userAgent.match(/Android.*Firefox/);

export default {
main: ({ render }) => render().querySelector('main'),
render: () =>
Expand Down Expand Up @@ -153,7 +150,5 @@ export default {
margin: 0 auto;
}
}
`.style(
isAndroidFirefoxBrowser && /*css*/ `:host { height: calc(100% - 60px); }`,
),
`,
};

0 comments on commit 4d0d4a5

Please sign in to comment.