diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index a12560198..7dd6fbd40 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -7,7 +7,19 @@ @import "mixins"; .content-pane.my-modules-protocols-index { - padding: 10px; + background-color: $color-alto; + margin: 0 -16px; + overflow: hidden; + padding: 36px 10px 10px; + width: calc(100% + 32px) ; + + .my-module-position-container { + background-color: $color-white; + box-shadow: $flyout-shadow; + margin: 0 auto; + max-width: 900px; + padding: 10px; + } } .content-pane.protocols-repository-edit-view { @@ -531,6 +543,10 @@ } @media (max-width: 700px) { + .content-pane.my-modules-protocols-index { + padding: 10px 0 0 0; + } + .my-module-protocol-status { .status-info-dropdown { left: -75px; diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index 5b454e075..2f723d155 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -412,11 +412,13 @@ a[data-toggle="tooltip"] { } .navbar-secondary { + min-height: 77px; transition: .4s $timing-function-sharp; } .navbar-without-sidebar{ margin-left: 0px; + min-height: 77px; padding-left: 0; transition: .4s $timing-function-sharp; } diff --git a/app/views/my_modules/protocols.html.erb b/app/views/my_modules/protocols.html.erb index a3426afdc..144237fbc 100644 --- a/app/views/my_modules/protocols.html.erb +++ b/app/views/my_modules/protocols.html.erb @@ -38,109 +38,111 @@ <%= render partial: 'shared/secondary_navigation', locals: { render_breadcrumbs: true, project: @experiment.project, experiment: @experiment } %>
- -
-
- -

- <%= t('my_modules.details.title') %> -

-
- - - - - - - - -
-
- <%= render partial: 'my_module_details' %> -
-
- <%= render partial: 'my_modules/status_flow/task_flow_button', locals: { my_module: @my_module } if @my_module.my_module_status_flow %> -
-
- - - -