Skip to content

Commit

Permalink
Swap bolded columns on availability summary list
Browse files Browse the repository at this point in the history
  • Loading branch information
froddd committed Dec 19, 2024
1 parent 123a7e1 commit c67bb2e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions assets/sass/components/_summary-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@
color: govuk-colour("dark-grey");
}

.govuk-summary-list--swap-bolding {
.govuk-summary-list__key {
font-weight: normal;
}

.govuk-summary-list__value {
font-weight: 700;
}
}
6 changes: 3 additions & 3 deletions integration_tests/tests/match/match.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ context('Placement Requests', () => {
// And I should see an occupancy calendar
occupancyViewPage.shouldShowOccupancyCalendar(premiseCapacity)

// Then I should see the calendar again
occupancyViewPage.shouldShowOccupancyCalendar(premiseCapacity)

// And I should be able to see the day's availability details
shouldShowDayDetailsAndReturn(occupancyViewPage, addDays(startDate, 10), premises, premiseCapacity)

// Then I should see the calendar again
occupancyViewPage.shouldShowOccupancyCalendar(premiseCapacity)

// When I filter with an invalid date
occupancyViewPage.filterAvailability('2025-02-35')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
{% endif %}

{{ govukSummaryList({
classes: 'govuk-summary-list--swap-bolding',
rows: availabilitySummaryListItems
}) }}

Expand Down

0 comments on commit c67bb2e

Please sign in to comment.