Skip to content

Commit

Permalink
Fixed Alignment of the herosection
Browse files Browse the repository at this point in the history
alignment of the herosection
  • Loading branch information
RiddhiM170904 committed Oct 6, 2024
1 parent 9c168b2 commit 41d085f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
#google_element {
position: absolute;
top: 10px; /* Distance from the top */
left: 25%; /* Position between middle and left corner */
/* Position between middle and left corner */
margin: 40px;
transform: translateX(-20%); /* Adjust for half the element's width */
z-index: 1000; /* Ensure it stays on top */
/* Ensure it stays on top */
}
/* Circle styles */
.circle {
Expand All @@ -37,6 +38,11 @@
}

.chatbot {
position: fixed;
bottom: 0px;
right: 0px;
z-index: 50;
margin: 20px;
background-color: #04aa6d;
border-radius: 50px;
width: 60px;
Expand All @@ -47,11 +53,6 @@
cursor: pointer;
}

.chatbot img {
width: 40px;
height: 40px;
}

.chatbox {
display: none;
position: fixed;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ function App() {
</Routes>
</Router>

<div className='fixed bottom-0 right-0 z-50 m-4 cursor-pointer'>
{/* <div className='fixed bottom-0 right-0 z-50 m-4 cursor-pointer'>
<img src={chatbotsvg} alt="chatbot" className='w-16 h-16' />
</div>
</div> */}

</>
)
Expand Down

0 comments on commit 41d085f

Please sign in to comment.