Skip to content

Commit 0ef6260

Browse files
Make style to remove diagram border more reusable (#122)
Ideally we'd be using classes here, but we'd need to install something like the Eleventy image plugin to make that work. Instead we use a common, descriptive filename suffix to avoid building up a list of individual images in the CSS file.
1 parent 1442836 commit 0ef6260

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

app/images/manage-vaccinations-in-schools/2025/05/improving-coverage-of-nhs-numbers-in-mavis/mavis-record-flow-nhs-numbers.png renamed to app/images/manage-vaccinations-in-schools/2025/05/improving-coverage-of-nhs-numbers-in-mavis/nhs-number-flow-borderless-diagram.png

File renamed without changes.

app/posts/manage-vaccinations-in-schools/2025/05/improving-coverage-of-nhs-numbers-in-mavis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As of Friday 2nd May 2025, across all SAIS teams using Mavis, there were around
1313

1414
Our most recently onboarded SAIS provider experienced 10% of records having no NHS number after uploading and automatic matching in Mavis. Our first SAIS provider also had 10% of records without NHS numbers after uploading to Mavis. They have since reduced this to less than 1% through manual matching of records.
1515

16-
![A diagram showing the flow of patient records into Mavis.](./mavis-record-flow-nhs-numbers.png "**Figure 1:** A diagram showing the flow of patient records into Mavis.")
16+
![A diagram showing the flow of patient records into Mavis.](./nhs-number-flow-borderless-diagram.png "**Figure 1:** A diagram showing the flow of patient records into Mavis.")
1717

1818
### Sources of records
1919

app/styles/application.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $govuk-font-family: Frutiger W01, arial, sans-serif;
6060

6161
// Improve display of mission patch images inside figures
6262
figure:has(img[src$="mission-patch.png"]),
63-
figure:has(img[src$="mavis-record-flow-nhs-numbers.png"]) {
63+
figure:has(img[src$="borderless-diagram.png"]) {
6464
background-color: transparent;
6565
border: 0;
6666

0 commit comments

Comments
 (0)