Skip to content

Commit

Permalink
Merge pull request #397 from vishalvivekm/styling-updatesss
Browse files Browse the repository at this point in the history
remaining-style updates-for-profiles
  • Loading branch information
vishalvivekm authored Oct 21, 2024
2 parents 6558b9a + 3b98ca6 commit df78924
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions assets/scss/_navbar_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
color: $primary !important;
}

@media (min-width: 768px) {
&:hover {
.dropdown-menu {
transform: translate(-15%, 0rem);
}
}
}
// @media (min-width: 768px) {
// &:hover {
// .dropdown-menu {
// transform: translate(-15%, 0rem);
// }
// }
// }
.dropdown-menu {
display: flex;
flex-direction: row;
Expand All @@ -33,7 +33,7 @@
}
.dropdown-item {
height: 5rem;
width: max-content;
width: 5rem;
display: flex;
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -85,4 +85,10 @@
width: 100%;
height: 100%;
object-fit: cover;
}
img.grid-icon {
transition: filter 0.15s ease-in-out;
&:hover {
filter: invert(.6);
}
}
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
data-toggle="dropdown"
style="padding-top:6px"
>
<img width="28px" src="/images/grid-icon.svg" />
<img width="28px" src="/images/grid-icon.svg" class="grid-icon" />

</div>
<div class="dropdown-menu" aria-labelledby="productsDropdown" style="margin-left:-4.5rem;visibility:hidden;">
Expand Down

0 comments on commit df78924

Please sign in to comment.