Skip to content

Commit

Permalink
Merge pull request #751 from YooAshu/gh-pages
Browse files Browse the repository at this point in the history
fixed navbar issue in mobileView
  • Loading branch information
sanjay-kv authored Oct 11, 2024
2 parents 694807b + ce54d5f commit d8ee14f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h1 class="main-heading">Awesome GitHub Profile READMEs</h1>
class="search-input"
placeholder="Search Nickname or Username..."
/>
<i class="fas fa-search" style="position: relative;right: 40px;"></i>
<i class="fas fa-search" ></i>
<i class="fa-solid fa-caret-down dropdown" id="caret-down"></i>
</div>
<!-- Modal Structure -->
Expand Down
4 changes: 2 additions & 2 deletions styles/hamburger.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.hamburger.active div:nth-child(1) {
transform: translateY(6px) rotate(45deg);
transform: translateY(14px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
Expand All @@ -38,7 +38,7 @@
align-items: center;
background-color: #ffffff;
width: 100%;
position: absolute;
position: fixed;
top: 52px;
left: 0;
opacity: 0;
Expand Down
19 changes: 19 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,10 @@ a {
position: relative;
padding: 18px !important;
}
.fa-search{
position: relative;
right: 40px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
Expand All @@ -1293,8 +1297,23 @@ a {
max-width: 90vw;
font-size: 12px; /* Adjust font size for smaller screens */
}

.search-input{
padding-right: 35px;
}
.fa-search{
position: relative;
right: 35px;
}
.fa-caret-down.dropdown{
position: relative;
right: 15px;
}
}




.line.show{
position: relative;
/* bottom: -20px; */
Expand Down

0 comments on commit d8ee14f

Please sign in to comment.