From 561746158ec13dbfef7b4f0665c680c70e470c45 Mon Sep 17 00:00:00 2001 From: artoscinote <85488244+artoscinote@users.noreply.github.com> Date: Mon, 6 Dec 2021 10:40:08 +0100 Subject: [PATCH] Further fix scoping of table styles [SCI-6315] (#3720) --- app/assets/stylesheets/{ => layouts}/print_protocol.scss | 6 +++--- app/views/layouts/protocols/print.html.erb | 2 +- config/initializers/assets.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename app/assets/stylesheets/{ => layouts}/print_protocol.scss (97%) diff --git a/app/assets/stylesheets/print_protocol.scss b/app/assets/stylesheets/layouts/print_protocol.scss similarity index 97% rename from app/assets/stylesheets/print_protocol.scss rename to app/assets/stylesheets/layouts/print_protocol.scss index 3cf909c14..b04baae0b 100644 --- a/app/assets/stylesheets/print_protocol.scss +++ b/app/assets/stylesheets/layouts/print_protocol.scss @@ -1,5 +1,5 @@ -@import "shared_styles/constants/*"; -@import "constants"; +@import "../shared_styles/constants/*"; +@import "../constants"; @page { size: A4; @@ -54,8 +54,8 @@ hr { } .step-check-circle { - border-radius: 50%; border: .15em solid $color-alto; + border-radius: 50%; color: $color-white; display: inline-block; height: 1.1em; diff --git a/app/views/layouts/protocols/print.html.erb b/app/views/layouts/protocols/print.html.erb index 8abc34352..55696a04f 100644 --- a/app/views/layouts/protocols/print.html.erb +++ b/app/views/layouts/protocols/print.html.erb @@ -6,7 +6,7 @@ <%= javascript_include_tag 'application' %> <%= javascript_include_tag "handsontable.full" %> <%= render 'shared/formulas_libraries' %> - <%= stylesheet_link_tag 'print_protocol', media: 'print, screen' %> + <%= stylesheet_link_tag 'layouts/print_protocol', media: 'print, screen' %>
<%= yield %>