diff --git a/app/assets/javascripts/my_modules.js b/app/assets/javascripts/my_modules.js index 86f1ea833..a275d1420 100644 --- a/app/assets/javascripts/my_modules.js +++ b/app/assets/javascripts/my_modules.js @@ -1,14 +1,6 @@ /* global I18n dropdownSelector */ /* eslint-disable no-use-before-define */ -$('#taskDetailsLabel').popover({ - html: true, - container: 'body', - placement: 'auto bottom', - trigger: 'hover', - content: $('#taskDetailsContent').html() -}); - function updateStartDate() { let updateUrl = $('#startDateContainer').data('update-url'); let val = $('#calendarStartDate').val(); diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index 214b6a3a5..1bc451cb2 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -454,6 +454,24 @@ } } +.task-details-dropdown-container { + .task-details-button { + @include font-h2; + cursor: pointer; + margin: 0 3px; + } + + .dropdown-menu { + min-width: 500px; + padding: 1em 2em; + + .row-v-margin { + margin-bottom: .5em; + margin-top: .5em + } + } +} + @media (max-width: 700px) { .my-module-protocol-status { .status-info-dropdown { diff --git a/app/views/my_modules/_module_header_details_popover.html.erb b/app/views/my_modules/_module_header_details_popover.html.erb index 565466684..1b57f9e03 100644 --- a/app/views/my_modules/_module_header_details_popover.html.erb +++ b/app/views/my_modules/_module_header_details_popover.html.erb @@ -1,5 +1,5 @@