Skip to content

Commit

Permalink
Hide components that should not print
Browse files Browse the repository at this point in the history
  • Loading branch information
matthillco committed Jun 21, 2024
1 parent 33ff5e3 commit b0ae32a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
dark_large_icon ||= false
light_icon ||= false

css_classes = %w(gem-c-action-link)
css_classes = %w(gem-c-action-link govuk-!-display-none-print)
css_classes << "gem-c-action-link--light-text" if light_text
css_classes << "gem-c-action-link--dark-icon" if dark_icon
css_classes << "gem-c-action-link--dark-large-icon" if dark_large_icon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
button_data_attributes ||= nil
input_data_attributes ||= nil
%>
<div class="gem-c-copy-to-clipboard" data-module="copy-to-clipboard">
<div class="gem-c-copy-to-clipboard govuk-!-display-none-print" data-module="copy-to-clipboard">
<%= render "govuk_publishing_components/components/input", {
label: {
text: label,
Expand Down

0 comments on commit b0ae32a

Please sign in to comment.