Skip to content

Commit

Permalink
Merge pull request #726 from Utsavladia/nav-mobile
Browse files Browse the repository at this point in the history
Fixed navbar for mobile screen
  • Loading branch information
SUGAM-ARORA authored Aug 10, 2024
2 parents 429dcc8 + 73c78b1 commit 094b119
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
29 changes: 25 additions & 4 deletions src/Components/TopContainer.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,12 @@
flex-direction: column-reverse;
flex-wrap: wrap;
height: min-content;
margin-left: 0;
margin-left: -1rem;
border-radius: 1rem;
padding: 2.5rem;
width: 100%;
padding: 2rem;
padding-top: 3rem;
width: 95%;
z-index: 999;
}

.largeview {
Expand All @@ -331,12 +333,31 @@
height: auto;
display: flex;
align-items: center;
justify-content: start;
justify-content: space-between;
padding: 0px;
}
.input-div{
display: flex;
align-items: center;
width: 100%;
}

.inputBox input {
padding: 0.5rem;
flex-grow: 1;
}

.inputBox input{
padding: 0.5rem 0.5rem 0.5rem 2rem;
margin-left: -1rem;
}

.input-div i{
background-color: #75738045;
opacity: 100%;
padding: 0.4rem ;
border-top-left-radius: 50%;
border-bottom-left-radius: 50%;
}

.profileContainer .go-pro-btn {
Expand Down
3 changes: 1 addition & 2 deletions src/Components/TopContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,11 @@ function TopContainer() {
</div>
</div>

<div className="inputBox o2" style={{width:"252px "}}>
<div className="inputBox o2" >
<div className="input-div">
<i
style={{
cursor: isMobile ? 'pointer' : 'default',
marginRight: '-30px'
}}
onClick={searchbtnclick}
className="searchbtn"
Expand Down

0 comments on commit 094b119

Please sign in to comment.