Skip to content

Commit b618255

Browse files
committed
Iframe takes the whole screen width
1 parent 374f839 commit b618255

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/index.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,12 @@ a:hover {
8989
iframe {
9090
border: 10px solid #CCC;
9191
border-radius: 20px;
92+
width: 100vw;
93+
position: relative;
94+
left: 50%;
95+
right: 50%;
96+
margin-left: -50vw;
97+
margin-right: -50vw;
9298
}
9399

94100
.card {
@@ -247,4 +253,4 @@ input[type="range"]::-moz-range-thumb {
247253
input[type="range"]:focus::-moz-range-thumb{
248254
outline: 3px solid #ffaa00;
249255
outline-offset: 0.125rem;
250-
}
256+
}

0 commit comments

Comments
 (0)