Skip to content

Commit

Permalink
Tidy up (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjfirth authored Aug 16, 2024
1 parent ec53e48 commit b4327ce
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 22 deletions.
2 changes: 2 additions & 0 deletions src/Dfe.ContentSupport.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public static void Main(string[] args)
builder.Services.AddControllers();
builder.Services.AddControllersWithViews();
builder.Services.AddApplicationInsightsTelemetry();
builder.Services.AddHealthChecks();

builder.Services.AddGovUkFrontend();
builder.Services.AddContentful(builder.Configuration);
Expand All @@ -39,6 +40,7 @@ public static void Main(string[] args)
app.UseRouting();
app.UseAuthorization();
app.UseCookiePolicy();
app.MapHealthChecks("/healthz");

app.MapControllerRoute(
"Default",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</a>
</h2>

<p class="attachment-metadata">
<p class="attachment-metadata" id="file-details">
<span class="attachment-attribute" aria-label="file type">@fileExtension.ToUpper()</span>,
<span class="attachment-attribute" aria-label="file size">
@(Model.Size / 1024) KB
Expand Down
46 changes: 25 additions & 21 deletions src/Dfe.ContentSupport.Web/wwwroot/css/cands-site.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,38 +88,38 @@ video {
background-color: #f3f2f1;
border: 1px solid #b1b4b6;
margin-bottom: 30px;
}
.dfe-feedback-banner--content {
}

.dfe-feedback-banner--content {
padding: 20px 15px;
display: block;
line-height: 1.333;
}
.dfe-feedback-banner--content-questions {
}

.dfe-feedback-banner--content-questions {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.dfe-feedback-banner--content-question {
}

.dfe-feedback-banner--content-question {
display: flex;
align-items: center;
}
.dfe-feedback-banner
.govuk-button,
.dfe-feedback-banner
.govuk-button-group {
}

.dfe-feedback-banner
.govuk-button,
.dfe-feedback-banner
.govuk-button-group {
margin-bottom: 0;
}
.dfe-feedback-banner--content-question
.dfe-feedback-banner--content-question-text {
}

.dfe-feedback-banner--content-question
.dfe-feedback-banner--content-question-text {
margin-bottom: 0;
margin-right: 20px;
}
}

.guidance-container {
border: 1px solid #b1b4b6;
Expand Down Expand Up @@ -456,4 +456,8 @@ dl.gem-c-metadata__list {

.print-button {
margin-top: 2rem;
}
}

.govuk-list.govuk-list--bullet li .govuk-body {
margin-bottom: 0;
}

0 comments on commit b4327ce

Please sign in to comment.