Skip to content

Commit

Permalink
Merge pull request #398 from saketh-05/mychanges
Browse files Browse the repository at this point in the history
ChatBot not aligned properly for mobile devices
  • Loading branch information
PranavBarthwal authored Jun 18, 2024
2 parents ee8fe26 + 904188c commit 2dc934c
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 2dc934c

Please sign in to comment.