From ce2d91025cf5f5563fed33d12c0c6d3c00f0e72f Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 21 Sep 2023 09:45:20 +0200 Subject: [PATCH] Task details css fixes [SCI-9342] --- .../my_modules/protocols/index.scss | 34 +------------------ app/javascript/vue/protocol/container.vue | 9 ++++- app/views/my_modules/_header_actions.html.erb | 2 +- app/views/my_modules/protocols.html.erb | 4 +-- 4 files changed, 12 insertions(+), 37 deletions(-) diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index 076ee2527..3d6234ae7 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -572,17 +572,11 @@ } .task-details-dropdown-container { - .task-details-button { - @include font-h2; - color: inherit; - margin-left: -5px; - text-decoration: none; - } - .dropdown-menu { @include font-button; min-width: 500px; padding: 1em 2em; + z-index: 251; .task-details-value { @include font-h3; @@ -595,27 +589,6 @@ } } -.task-information { - .task-section-header { - align-items: center; - display: flex; - justify-content: space-between; - width: 100%; - } - - .status-buttons { - .status-flow-dropdown[data-status-changing=true] { - .caret.pull-right { - display: none; - } - } - - > div > .btn { - min-width: 115px; - } - } -} - @media (max-width: 810px) { .task-information .task-section-header { display: block; @@ -650,11 +623,6 @@ } } -.task-details-code { - display: inline-block; - margin-left: 4px; -} - #confirm-link-update-modal, .delete-steps-modal { .modal-body p { diff --git a/app/javascript/vue/protocol/container.vue b/app/javascript/vue/protocol/container.vue index a76df4b39..cceb86569 100644 --- a/app/javascript/vue/protocol/container.vue +++ b/app/javascript/vue/protocol/container.vue @@ -1,6 +1,6 @@