Browse Source

Widen layout

pull/355/head
Paul Robert Lloyd 3 years ago
parent
commit
7e7b7b0d9e
  1. 2
      app/views/layouts/application.html.erb
  2. 5
      app/webpacker/styles/_template.scss
  3. 3
      app/webpacker/styles/application.scss

2
app/views/layouts/application.html.erb

@ -28,7 +28,7 @@
<% end %> <% end %>
</head> </head>
<body class="govuk-template__body "> <body class="govuk-template__body app-template--wide">
<script> <script>
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled'); document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
</script> </script>

5
app/webpacker/styles/_template.scss

@ -0,0 +1,5 @@
.app-template--wide {
.govuk-width-container {
@include govuk-width-container(1100px);
}
}

3
app/webpacker/styles/application.scss

@ -16,8 +16,9 @@ $govuk-global-styles: true;
@import "input"; @import "input";
@import "related-navigation"; @import "related-navigation";
@import "section-skip-link"; @import "section-skip-link";
@import "task-list";
@import "tab-navigation"; @import "tab-navigation";
@import "task-list";
@import "template";
// Overrides // Overrides
.app-\!-colour-muted { .app-\!-colour-muted {

Loading…
Cancel
Save