Skip to content

Commit

Permalink
Merge branch 'main' into temporary_branch_that_should_not_be_merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli-TW authored Jul 4, 2024
2 parents 96e10d9 + 081689a commit 3a04afe
Show file tree
Hide file tree
Showing 21 changed files with 1,395 additions and 877 deletions.
3 changes: 3 additions & 0 deletions assets/javascript/govukFrontendInit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { initAll } from 'node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js';

initAll();
1 change: 1 addition & 0 deletions assets/javascript/mojFrontendInit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
window.MOJFrontend.initAll();
2 changes: 1 addition & 1 deletion assets/sass/components/_category.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

& > *:first-child {
margin-top: govuk-spacing(5);
@include govuk-typography-responsive(36);
@include govuk-font-size(36);
}

& > *:last-child {
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/components/_content-tile-large.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

& > *:first-child {
margin-top: govuk-spacing(5);
@include govuk-typography-responsive(36);
@include govuk-font-size(36);
}

& > *:last-child {
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/pages/flat-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
display: block;

p {
@extend .govuk-panel__body;
@extend .govuk-panel__body !optional;
color: govuk-colour('white');
font-weight: bold;
margin-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion bin/build-css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--no-source-map \
--quiet-deps \
--load-path=. \
--load-path=node_modules/govuk-frontend \
--load-path=node_modules/govuk-frontend/dist \
--load-path=node_modules/@ministryofjustice/frontend \
./assets/sass/style.scss:./assets/stylesheets/application.css \
--style compressed
Loading

0 comments on commit 3a04afe

Please sign in to comment.