Skip to content

Commit 2d93cc6

Browse files
committed
Prevent scrollbars in background/overlay iframes
1 parent 373d3fb commit 2d93cc6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/streamwall/src/renderer/background.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function Background({ streams }: { streams: StreamList }) {
2323
src={s.link}
2424
sandbox="allow-scripts allow-same-origin"
2525
allow="autoplay"
26+
scrolling="no"
2627
/>
2728
))}
2829
</div>

packages/streamwall/src/renderer/overlay.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ function Overlay({
100100
src={s.link}
101101
sandbox="allow-scripts allow-same-origin"
102102
allow="autoplay"
103+
scrolling="no"
103104
/>
104105
))}
105106
</div>

0 commit comments

Comments
 (0)