Skip to content

Commit

Permalink
Fixed Chatbot responsiveness for mobile screens.
Browse files Browse the repository at this point in the history
Made few changes to chatbot.css file and fixed the issue with chatbot body overflowing for mobile screens. Now it looks very grand and awesome.
  • Loading branch information
saketh-05 committed Jun 12, 2024
1 parent 7fcca08 commit 904188c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/Chatbot/chatbot.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ filter: drop-shadow(0 0 6px currentColor);
transform: translate3d(104em, 0, 0);
animation: fall var(--fall-duration) var(--fall-delay) linear infinite, tail-fade var(--tail-fade-duration) var(--fall-delay) ease-out infinite;


@include sp-layout {
// For mobile performance, tail-fade animation will be removed QAQ
animation: fall var(--fall-duration) var(--fall-delay) linear infinite;
Expand Down Expand Up @@ -269,3 +270,20 @@ to {
font-size: 20px;
}

@media screen and ( max-width: 429px ) {
.chat-popup-container{
width: 80%;
}
.chat-popup-footer{
width: 77%;
}
.chat-popup-input{
width: 80%;
}
.chat-popup-send{
display: flex;
align-items: center;
justify-content: center;
width: 25%;
}
}

0 comments on commit 904188c

Please sign in to comment.