Skip to content

Commit 9de1608

Browse files
authored
Fix width of iframe inside message box.
The `iframe`, containing the example embedded gif, has a width greater than the width of the message box and thus breaks out of the message box. Here's an example: http://imgur.com/a/vRq7D
1 parent 3e5b9e1 commit 9de1608

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/styles/botui.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
&.human {
3636
float: right;
3737
}
38+
39+
iframe {
40+
width: 100%;
41+
}
3842
}
3943

4044
.botui-message-content-image {

0 commit comments

Comments
 (0)