Fixing scrollability of enable camera scene page

This commit is contained in:
David Négrier 2021-06-02 10:44:36 +02:00
parent 950c5ace3f
commit 321fc3184a
3 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<div>
{#if $loginSceneVisibleStore}
<div>
<div class="scrollable">
<LoginScene game={game}></LoginScene>
</div>
{/if}
@ -43,7 +43,7 @@
</div>
{/if}
{#if $enableCameraSceneVisibilityStore}
<div>
<div class="scrollable">
<EnableCameraScene game={game}></EnableCameraScene>
</div>
{/if}

View File

@ -131,7 +131,6 @@
pointer-events: auto;
margin: 20px auto 0;
color: #ebeeee;
overflow: auto;
section.selectWebcamForm {
margin-top: 3vh;

View File

@ -1222,7 +1222,12 @@ div.action.danger p.action-body{
position: absolute;
width: 100%;
height: 100%;
overflow: auto;
}
& > div.scrollable {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
pointer-events: auto;
}
}
}