Skip to content

Commit

Permalink
Merge pull request #25 from iceljc/bugfix/fix-conv-dropdown
Browse files Browse the repository at this point in the history
Bugfix/fix conv dropdown
  • Loading branch information
Oceania2018 authored Jan 24, 2024
2 parents c51bab4 + a851ea7 commit 438b765
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/common/LiveChatEntry.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
src={chatUrl}
width="380px"
height="650px"
class="border border-2 rounded-3 m-3 float-end"
class="border border-2 rounded-3 m-3 float-end chat-iframe"
title="live chat"
>
</iframe>
Expand Down
17 changes: 16 additions & 1 deletion src/lib/scss/custom/pages/_chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
border: 1px solid var(--#{$prefix}border-color);

li:first-child {
@media (max-width: 575.98px) {
@media (max-width: 1024px) {
display: none;
}
}
Expand Down Expand Up @@ -304,3 +304,18 @@
}
}

.chat-iframe {
@media (max-width: 1024px) {
position: fixed;
top: 0 !important;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
width: 100% !important;
height: 100% !important;
border: none !important;
margin:0 !important;
padding:0 !important;
overflow: hidden !important;
}
}

0 comments on commit 438b765

Please sign in to comment.