(fix) Wide code sample on a shared task [SCI-9942] (#6890)

This commit is contained in:
Gregor Lasnibat 2024-01-05 16:43:58 +01:00 committed by GitHub
parent 7ab9c4f935
commit ab98965947
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@
<div class="task-notes">
<div class="task-notes-content">
<% if @my_module.description.present? %>
<div class="rtf-view w-full">
<div class="rtf-view overflow-auto w-full max-w-[54rem]">
<%= smart_annotation_text(@my_module.shareable_tinymce_render(:description)) %>
</div>
<% else %>

View file

@ -42,7 +42,7 @@
<div>
<div id="protocol-description-container" >
<% if protocol.description.present? %>
<div class="rtf-view w-full">
<div class="rtf-view overflow-auto w-full max-w-[54rem]">
<%= smart_annotation_text(protocol.shareable_tinymce_render(:description)) %>
</div>
<% else %>

View file

@ -8,7 +8,7 @@
</div>
<% end %>
<% if element.text.present? %>
<div class="rtf-view w-full rounded min-h-[2.25rem] mb-4 relative group/text_container content__text-body">
<div class="rtf-view rounded min-h-[2.25rem] mb-4 relative group/text_container content__text-body overflow-auto w-full max-w-[54rem]">
<%= smart_annotation_text(element.shareable_tinymce_render(:text)) %>
</div>
<% else %>