Skip to content

Commit

Permalink
411709: summary list style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmypixel committed Jan 10, 2025
1 parent 76ba340 commit dcc9884
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/client/stylesheets/core/_summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@

.app-summary-list {
.govuk-summary-list__row {
padding: govuk-spacing(2) govuk-spacing(1);
border-bottom: 1px solid $app-mid-grey;
vertical-align: middle;

.govuk-summary-list__key {
padding-left: govuk-spacing(1);
}

.govuk-summary-list__key,
.govuk-summary-list__value,
.govuk-summary-list__actions {
vertical-align: middle;
}

&:hover {
background-color: $app-grey;
}
Expand Down
2 changes: 1 addition & 1 deletion src/server/teams/transformers/team-to-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const buildMembers = (team) =>
return {
key: { text: i === 0 ? 'Members' : '' },
value: {
html: `<div class="app-!-layout-centered">${
html: `<div class="app-!-layout-flex-start">${
renderIcon('user-icon', {
classes: 'app-icon--minute govuk-!-margin-right-1'
}) + user.name
Expand Down

0 comments on commit dcc9884

Please sign in to comment.