Skip to content

Commit

Permalink
Merge branch 'main' into INTR-318
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Oct 8, 2024
2 parents 4633c3a + 8cde860 commit 6d73bab
Show file tree
Hide file tree
Showing 84 changed files with 1,524 additions and 1,167 deletions.
3 changes: 1 addition & 2 deletions assets/js/init.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as Sentry from "@sentry/browser";
import { BrowserTracing } from "@sentry/tracing";

/**
* Return config from meta html elements.
Expand All @@ -24,7 +23,7 @@ function sentryInit() {
dsn,
release: config("release"),
environment: config("environment"),
integrations: [new BrowserTracing()],
integrations: [Sentry.browserTracingIntegration()],
tracesSampleRate: Number(config("sentry:browser-traces-sample-rate")),
});
}
Expand Down
5 changes: 3 additions & 2 deletions assets/stylesheets/components/_home_new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@
}

// Adds spacing to the top level content when a flag banner is not present.
.dwds > .stack > :not(.govuk-phase-banner) {
.dwds > .content-stack > :not(.govuk-phase-banner) {
margin-block-start: var(--space);
}
}

.new-home {

article,
section {
display: inline;
Expand All @@ -81,4 +82,4 @@
margin-bottom: 10px;
}
}
}
}
40 changes: 16 additions & 24 deletions assets/stylesheets/components/_streamfield-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
@include govuk-font($size: 16, $weight: bold);
}

p, li {
p,
li {
@extend %govuk-body-m;
}

Expand All @@ -29,30 +30,19 @@
}

table {
@extend .govuk-table;
@extend .govuk-table;

caption {
@extend .govuk-table__caption;
}
caption {
@extend .govuk-table__caption;
}

th {
@extend .govuk-table__header;
}
th {
@extend .govuk-table__header;
}

td {
@extend .govuk-table__cell;
}
}
}

.ws-streamfield-content__image {
margin: 0 0 govuk-spacing(3) 0;
padding: 0;
display: table;

img {
max-width: 100%;
height: auto;
td {
@extend .govuk-table__cell;
}
}
}

Expand All @@ -71,8 +61,10 @@

.ws-streamfield-content__cta-link-container {
padding-top: govuk-spacing(2);
a, a:visited {

a,
a:visited {
color: $govuk-text-colour;
padding: govuk-spacing(4);
}
}
}
Loading

0 comments on commit 6d73bab

Please sign in to comment.