diff --git a/app/assets/sass/application.scss b/app/assets/sass/application.scss index aa6e6183..de812dd2 100755 --- a/app/assets/sass/application.scss +++ b/app/assets/sass/application.scss @@ -61,7 +61,6 @@ $govuk-assets-path: "/dist/govuk/assets/"; @import "overrides/govuk-tag"; @import "overrides/moj-button-menu"; @import "overrides/moj-filter"; -@import "overrides/moj-pagination"; @import "overrides/moj-primary-navigation"; @import "overrides/status-grid"; @import "overrides/summary-card"; diff --git a/app/assets/sass/overrides/_moj-pagination.scss b/app/assets/sass/overrides/_moj-pagination.scss deleted file mode 100644 index 2952cc13..00000000 --- a/app/assets/sass/overrides/_moj-pagination.scss +++ /dev/null @@ -1,26 +0,0 @@ -//// -/// @group helpers/moj-pagination -//// -/// Removed margin to stop pagination overflowing container -/// Todo: investigate why this happens - -.moj-pagination { - margin-right: 0; - margin-left: 0; -} - -.moj-pagination__list { - padding-left: 0; - - .moj-pagination__item:first-of-type { - padding-left: 0; - } -} - -.moj-pagination__results { - padding-left: 0; - @include govuk-media-query($from: desktop) { - padding-right: 0; - padding-left: inherit; - } -} diff --git a/app/views/layout.njk b/app/views/layout.njk index 473c949d..99af4f02 100755 --- a/app/views/layout.njk +++ b/app/views/layout.njk @@ -53,7 +53,6 @@ {# moj components #} {%- from "moj/components/filter/macro.njk" import mojFilter -%} {%- from "moj/components/button-menu/macro.njk" import mojButtonMenu -%} -{%- from "moj/components/pagination/macro.njk" import mojPagination -%} {%- from "moj/components/primary-navigation/macro.njk" import mojPrimaryNavigation -%} {% block head %}