Skip to content

Commit

Permalink
menu hover in sidebar is fixed #72 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
devarshishimpi authored Oct 9, 2022
2 parents 90c8ffa + 7a10a09 commit c50b0d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions frontend/src/components/RecycleBin/RecycleBin.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ header,
font-size: 15px;
}

.settings .menu {
/* .settings .menu {
z-index: 1;
bottom: 0;
right: -5px;
Expand Down Expand Up @@ -135,7 +135,7 @@ header,
.menu li i {
padding-right: 8px;
}
} */

.popup-box {
position: fixed;
Expand Down
5 changes: 0 additions & 5 deletions frontend/src/components/RecycleBin/RecycleBin.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,6 @@ const RecycleBin = () => {
<span>{convertToMonthName(new Date(dateStu).getMonth()) + " " + new Date(dateStu).getDate().toString() + ", " + new Date(dateStu).getFullYear()}</span>
<div onClick={() => unArchive(note._id)} id={`settings-${note._id}`} className="settings">
<RiInboxUnarchiveLine />
{/* <i onClick={() => openMenu(note._id)} className="uil uil-ellipsis-h"></i>
<ul className="menu show">
<li onClick={() => openAddNoteModalForEditNote(note._id)}><i className="uil uil-pen"></i>Edit</li>
<li onClick={() => deleteNote(note._id)}><i className="uil uil-trash"></i>Delete</li>
</ul> */}
</div>
<div onClick={() => deletePermanently(note._id)} id={`settings-${note._id}`} className="settings">
<AiFillDelete />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Sidenav/Sidenav.css
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ header .image-text .profession {
transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu {
.sidebar .bar {
margin-top: 40px;
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Sidenav/Sidenav.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Sidenav = () => {
</header>

<div className="menu-bar">
<div className="menu">
<div className="bar">

<li onClick={searchbarClick} className="search-box">
<i className="fa-solid fa-magnifying-glass icon"></i>
Expand Down

0 comments on commit c50b0d7

Please sign in to comment.