Hide scrollbars for web views

This commit is contained in:
Max Goodhart
2020-06-20 22:40:59 -07:00
parent 6b0433303c
commit 0c0f7d8c8d

View File

@@ -149,6 +149,15 @@ const viewStateMachine = Machine(
`,
{ cssOrigin: 'user' },
)
} else if (content.kind === 'web') {
wc.insertCSS(
`
html, body {
overflow: hidden !important;
}
`,
{ cssOrigin: 'user' },
)
}
},
startVideo: async (context, event) => {