Skip to content

Commit

Permalink
add reply button in notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Feb 20, 2025
1 parent f35a0e1 commit 0780616
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/assets/images/icons/reply.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions app/assets/stylesheets/notes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

.social-actions{
display: flex;
gap: 10px;
}

.note-header{
Expand Down Expand Up @@ -99,6 +100,16 @@
border-radius: 10px;
margin: 10px 0;
}
.replies{
display: flex;
gap: 5px;
align-items: center;
background: #F2F2F2;
border-radius: 30px;
padding: 5px 12px;
color: #888888;
cursor: pointer;
}

}

3 changes: 2 additions & 1 deletion app/views/notes/_notes.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
.down-button
= inline_svg_tag 'icons/arrow.svg'
.replies

= inline_svg_tag 'icons/reply.svg'
Replies

.note-right-column
- note.relatedClass.each do |cls|
Expand Down

0 comments on commit 0780616

Please sign in to comment.