Skip to content

Commit 844648b

Browse files
committed
Update movie_streaming_site.py
1 parent b763caf commit 844648b

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

movie_streaming_site/movie_streaming_site.py

+18-5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def index():
3535
autoplayInterval=3000,
3636
scrollDistance="slide",
3737
wrapMode="wrap",
38+
overflow="hidden"
3839
),
3940

4041

@@ -45,6 +46,7 @@ def index():
4546
left="0",
4647
top="0",
4748
bg="linear-gradient(180deg,rgba(18, 18, 18, 0.25) 0%, rgba(18, 18, 18, 0.77) 50%, rgba(18, 18, 18, 0.90) 77%, #121212 93%)",
49+
overflow="hidden"
4850
),
4951
motion(
5052

@@ -83,11 +85,13 @@ def index():
8385
height="30vh",
8486
line_height="14vh"
8587
),
88+
search(),
8689
width="100vw",
8790
height="111vh",
8891
position="relative",
92+
overflow="hidden"
8993
),
90-
search(),
94+
9195
rx.center(
9296
rx.cond(
9397
State.loading,
@@ -105,7 +109,8 @@ def index():
105109

106110
width="100%",
107111
height="90vh",
108-
margin_bottom="20vh"
112+
margin_bottom="20vh",
113+
overflow="hidden"
109114
),
110115

111116
),
@@ -122,14 +127,17 @@ def index():
122127
position="absolute",
123128
left="1.5vw",
124129
top="105vh",
125-
width="100%"
130+
width="100%",
131+
overflow="hidden"
132+
126133
),
127134
width="100%",
135+
overflow="hidden"
128136
),
129137

130138
bg="#121212",
131139
position="relative",
132-
overflow_x="hidden"
140+
overflow_x="hidden",
133141
)
134142

135143

@@ -139,6 +147,7 @@ def index():
139147

140148

141149
Slider = slider.create
150+
142151
def testpage():
143152
return rx.box(
144153
Slider(
@@ -157,7 +166,11 @@ def testpage():
157166

158167
style = {
159168
"body":{
160-
"background-color":"#121212"
169+
"background-color":"#121212",
170+
"overflow":"hidden"
171+
},
172+
"html":{
173+
"overflow":"hidden"
161174
}
162175
}
163176

0 commit comments

Comments
 (0)