diff --git a/app/assets/javascripts/my_modules/protocols.js b/app/assets/javascripts/my_modules/protocols.js index d667caaeb..bd04b990f 100644 --- a/app/assets/javascripts/my_modules/protocols.js +++ b/app/assets/javascripts/my_modules/protocols.js @@ -100,7 +100,7 @@ function initLinkUpdate() { $("[data-action='unlink'], [data-action='revert'], [data-action='update-parent'], [data-action='update-self']") .on('ajax:success', function(e, data) { const modalBodyTemplate = (message, warning) => `
-${warning || ''}
`; + `; const { title, message, diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index 861fe5f77..f6a4e2079 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -6,8 +6,6 @@ @import "constants"; @import "mixins"; -$modal-spacing: 16px; - .content-pane.my-modules-protocols-index { background-color: $color-alto; margin: 0 -16px; @@ -682,54 +680,3 @@ $modal-spacing: 16px; display: inline-block; margin-left: 4px; } - -#confirm-link-update-modal { - .modal-content { - .modal-header { - border-bottom-color: transparent; - position: relative; - padding: $modal-spacing; - - &::after { - border-bottom: 1px solid $color-concrete; - bottom: 0; - left: $modal-spacing; - position: absolute; - width: calc(100% - 2* #{$modal-spacing}); - } - - .close { - color: $color-volcano; - } - } - - .modal-body { - padding: $modal-spacing; - - .message { - margin-bottom: $modal-spacing; - } - - .warning { - font-weight: bold; - margin: 0; - } - } - - .modal-footer { - border-top-color: transparent; - padding: $modal-spacing; - position: relative; - - &::after { - border-top: 1px solid $color-concrete; - left: $modal-spacing; - position: absolute; - top: 0; - width: calc(100% - 2* #{$modal-spacing}); - } - } - } - - -}