Skip to content

Commit

Permalink
re-style banner on block view
Browse files Browse the repository at this point in the history
so that it doesn't bleed over the edge of the full column width.
  • Loading branch information
Harriethw committed Feb 5, 2025
1 parent 45e4eb4 commit ce993ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.rollup-details {
background: govuk-colour("light-grey");
margin-bottom: govuk-spacing(8);

.govuk-grid-column-full {
padding: 0;
&__background {
background-color: govuk-colour("light-grey");
background-clip: content-box;
}

&__title {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="govuk-grid-row rollup-details">
<div class="govuk-grid-column-full">
<div class="govuk-grid-column-full rollup-details__background">
<h2 class="rollup-details__title">Metrics</h2>
<% metrics.each do |name, value| %>
<div class="govuk-grid-column-one-quarter rollup-details__rollup-metric <%= name %>">
Expand Down

0 comments on commit ce993ec

Please sign in to comment.