mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
(fix) Wide code sample on a shared task [SCI-9942] (#6890)
This commit is contained in:
parent
7ab9c4f935
commit
ab98965947
3 changed files with 3 additions and 3 deletions
|
@ -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 %>
|
||||
|
|
|
@ -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 %>
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue