Skip to content

Commit 5109cde

Browse files
authored
Merge pull request #117 from NHSDigital/update-jinja-templates
Update jinja templates
2 parents 45ffbfb + aea28e0 commit 5109cde

5 files changed

Lines changed: 22 additions & 16 deletions

File tree

manage_breast_screening/assets/sass/components/_secondary-navigation.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ $govuk-spacing4: 20px;
3131
@include nhsuk-link-style-default;
3232
@include nhsuk-link-style-no-visited-state;
3333

34-
text-decoration: none;
34+
&:link {
35+
text-decoration: none;
36+
}
3537

3638
// Extend the touch area of the link to the list
3739
&::after {
@@ -45,7 +47,7 @@ $govuk-spacing4: 20px;
4547
}
4648

4749
.app-secondary-navigation__list {
48-
@include clearfix;
50+
@include nhsuk-clearfix;
4951

5052
// The list uses box-shadow rather than a border to set a 1px
5153
// grey line at the bottom, so that border from the current
@@ -67,7 +69,7 @@ $govuk-spacing4: 20px;
6769
position: relative;
6870

6971
// More generous padding beneath items on wider screens
70-
@include mq($from: tablet) {
72+
@include nhsuk-media-query($from: tablet) {
7173
padding-bottom: $govuk-spacing3;
7274
}
7375
}
@@ -84,7 +86,7 @@ $govuk-spacing4: 20px;
8486
padding-bottom: $govuk-spacing1;
8587

8688
// More generous padding beneath items on wider screens
87-
@include mq($from: tablet) {
89+
@include nhsuk-media-query($from: tablet) {
8890
padding-bottom: $govuk-spacing2;
8991
}
9092
}

package-lock.json

Lines changed: 9 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"watch": "concurrently npm:*:watch --prefix none"
2121
},
2222
"dependencies": {
23-
"nhsuk-frontend": "^9.5.2"
23+
"nhsuk-frontend": "^9.6.2"
2424
},
2525
"devDependencies": {
2626
"@babel/preset-env": "^7.27.2",

poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies = [
1212
"gunicorn (>=23.0.0,<24.0.0)",
1313
"jinja2 (>=3.1.6,<4.0.0)",
1414
"whitenoise[brotli] (>=6.9.0,<7.0.0)",
15-
"nhsuk-frontend-jinja (>=0.2.0,<0.3.0)",
15+
"nhsuk-frontend-jinja (>=0.3.0,<0.4.0)",
1616
"python-dateutil (>=2.9.0.post0,<3.0.0)",
1717
"psycopg[binary] (>=3.2.7,<4.0.0)",
1818
]

0 commit comments

Comments
 (0)