Skip to content

Commit eabde30

Browse files
authored
fix(VRT): Set max-width of mobile iframe (#4587)
* fix(VRT): Set max-width of mobile iframe
1 parent bf489ac commit eabde30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared/styles/doc.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $light-gray-border-color: #f2f2f2;
2121
.docs-mobile_frame {
2222
border: solid 2px $light-gray-border-color;
2323
width: 100%;
24+
max-width: 100%; /* prevents the iframe from expanding beyond its container */
2425
background-color: #d2d2cf1f;
2526
}
2627

0 commit comments

Comments
 (0)