Skip to content

Commit

Permalink
Delete unused styling
Browse files Browse the repository at this point in the history
In the previous commit we changed the contents list on the service service_manual_guide
page to use the publishing component. This means that we are now able to
delete the custom styles and javascript that were being used previously.
  • Loading branch information
beccapearce committed Apr 5, 2024
1 parent 7be2f35 commit 271654f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 176 deletions.
156 changes: 0 additions & 156 deletions app/assets/javascripts/modules/highlight-active-section-heading.js

This file was deleted.

18 changes: 0 additions & 18 deletions app/assets/stylesheets/modules/_page-contents.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/stylesheets/views/_service_manual_guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@import "../modules/govspeak-wrapper";
@import "../modules/hero";
@import "../modules/notice";
@import "../modules/page-contents";
@import "../modules/page-header";
@import "../modules/panel";
@import "../modules/related-content";
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/service_manual_guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</div>
</div>

<div class="govuk-grid-row" data-module="highlight-active-section-heading">
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third app-sticky-element">
<!-- Page contents -->
<%= render "govuk_publishing_components/components/contents_list", {
Expand Down

0 comments on commit 271654f

Please sign in to comment.