Browse Source

Fix `offcanvas` for `doctrines`

pull/61/head
alexdbondoc17 4 years ago
parent
commit
efab230381
  1. 5
      app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb

5
app/components/annotation_marks_modal_form_component/annotation_marks_modal_form_component.html.erb

@ -1,4 +1,7 @@
<div class="modal fade modal-doctrine-body" id="annotationModal" tabindex="-1" aria-labelledby="annotationModal" aria-hidden="true" data-controller="annotations">
<div class="modal fade modal-doctrine-body <%= opts[:is_show].present? ? 'show' : '' %>"
id="annotationModal" tabindex="-1" aria-labelledby="annotationModal" aria-hidden="true"
style="<%= opts[:is_show].present? ? 'display: block;' : '' %>" aria-modal="<%= opts[:is_show].present? %>"
data-controller="annotations">
<div class="modal-dialog modal-lg modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">

Loading…
Cancel
Save