fix(frontend): Scrolling Issue in Safari for Top and Bottom Bars

fix #10977
This commit is contained in:
syuilo 2023-06-09 12:51:16 +09:00
parent 13870c63b0
commit 6032c2be1c
2 changed files with 42 additions and 0 deletions

View file

@ -254,6 +254,27 @@ async function deleteProfile() {
} }
</script> </script>
<style>
html,
body {
width: 100%;
height: 100%;
overflow: clip;
position: fixed;
top: 0;
left: 0;
}
#misskey_app {
width: 100%;
height: 100%;
overflow: clip;
position: absolute;
top: 0;
left: 0;
}
</style>
<style lang="scss" module> <style lang="scss" module>
.transition_menuDrawerBg_enterActive, .transition_menuDrawerBg_enterActive,
.transition_menuDrawerBg_leaveActive { .transition_menuDrawerBg_leaveActive {

View file

@ -215,6 +215,27 @@ watch($$(navFooter), () => {
}); });
</script> </script>
<style>
html,
body {
width: 100%;
height: 100%;
overflow: clip;
position: fixed;
top: 0;
left: 0;
}
#misskey_app {
width: 100%;
height: 100%;
overflow: clip;
position: absolute;
top: 0;
left: 0;
}
</style>
<style lang="scss" module> <style lang="scss" module>
$ui-font-size: 1em; // TODO: $ui-font-size: 1em; // TODO:
$widgets-hide-threshold: 1090px; $widgets-hide-threshold: 1090px;