Skip to content

Commit 6f4cab5

Browse files
committed
Proper scroll on splited screen
1 parent 4a68094 commit 6f4cab5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

widget/components/chat/Chat.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
<iframe
2828
class="split-screen-iframe"
2929
:src="store.splitScreenIframe"
30-
frameborder="0"
3130
allowfullscreen
3231
></iframe>
3332
</div>
@@ -249,6 +248,7 @@ function sendToGTM(msg) {
249248
background-color: $chatfaq-color-chat-background-light;
250249
&.split-screen {
251250
flex-direction: row;
251+
overflow: hidden !important;
252252
}
253253
.right-content {
254254
display: flex;
@@ -263,7 +263,11 @@ function sendToGTM(msg) {
263263
width: 100%;
264264
box-shadow: 0px 2px 18px 0px #0000001A;
265265
}
266-
266+
.split-screen-iframe {
267+
height: 100%;
268+
width: 100%;
269+
border: 0;
270+
}
267271
&.dark-mode {
268272
background-color: $chatfaq-color-chat-background-dark;
269273
}

0 commit comments

Comments
 (0)