Skip to content

Commit

Permalink
content should not flow outside Akshatchaube01#334
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilG0 committed Jul 14, 2024
1 parent 1ad4b53 commit bc1b4f3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/components/BottomToTop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,30 @@ const GoToTop = () => {
};

const Wrapper = styled.div`
@media(max-width:481px){
bottom:7%;
right:12%;
display:flex;
justify-content:center;
align-items:center;
position:fixed;
color:white;
background-color:rgb(59,130,246);
width:48px;
height:48px;
z-index:9999;
border-radius:50%;
cursor:pointer;
transition:transform 0.3s ease,background-color 0.3s ease;
&:hover{
background-color:#003a79;
transform:translateY(-5px);
}
}
display: flex;
justify-content: center;
align-items: center;
position: fixed;
position: fixed;6
bottom: 17px;
right: 10px;
color: white;
Expand Down
6 changes: 6 additions & 0 deletions src/components/chatbot.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
right: 20px;
z-index: 1000;
}
@media (max-width:481px){
.chatbot-container{
bottom: 7%;
right: 15%;
}
}

.chatbot-toggle-button {
background-color: #007bff;
Expand Down

0 comments on commit bc1b4f3

Please sign in to comment.