Skip to content

Commit

Permalink
feat: nice pencil icon transition on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneinserenade committed May 28, 2022
1 parent 4bc70a2 commit 91ab179
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/Newtab/components/note/styles/NotePreview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
transition: none;

.control-buttons {
display: flex !important;
max-width: 50px !important;
}
}

Expand Down Expand Up @@ -40,9 +40,12 @@
}

.control-buttons {
display: none;
margin-right: 2px;
transform: translateY(8px);
overflow: hidden;
display: inline-flex;
transition: all 0.2s ease-in-out;
max-width: 0;
}
}
}
Expand Down

0 comments on commit 91ab179

Please sign in to comment.