Skip to content

Commit

Permalink
fix related class display in notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Feb 19, 2025
1 parent 25babfd commit f35a0e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/assets/stylesheets/notes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,17 @@
flex-direction: column;
gap: 6px;
}
.note-right-column{
width: 40%;
display: flex;
justify-content: end;
gap: 5px;
.chip-button-component-container{
word-break: break-word !important;
overflow-wrap: break-word !important;
white-space: normal !important;
}
}

.social-actions{
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion app/views/notes/_notes.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

.note-right-column
- note.relatedClass.each do |cls|
= get_link_for_cls_ajax(cls , note.relatedOntology)
= get_link_for_cls_ajax(cls, note.relatedOntology.first)



Expand Down

0 comments on commit f35a0e1

Please sign in to comment.