Skip to content

Commit

Permalink
Merge docs css into main
Browse files Browse the repository at this point in the history
Our CSS was split between `main.css` and `docs.css`, for legacy reasons.

This merges them together.
  • Loading branch information
frankieroberto committed Feb 21, 2025
1 parent 49e3f1c commit dfa06d8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 29 deletions.
28 changes: 0 additions & 28 deletions app/assets/sass/docs.scss

This file was deleted.

24 changes: 24 additions & 0 deletions app/assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// Components that are not in the NHS.UK frontend library
@import 'components/figure';
@import 'components/code-snippet';
@import 'components/header';

@import 'styles/code';
@import 'styles/highlight';
Expand All @@ -13,9 +14,32 @@
// Add your custom CSS/Sass styles below...
///////////////////////////////////////////

// Overrides auto reload div background colour
#hc_extension_bkgnd {
background-color: $color_nhsuk-grey-4 !important;
}


// This is a temporary fix to remove the 'Home' link in
// the primary navigation which is added Header primary nav.
// Should be able to remove this after the next NHS Frontend update.
.nhsuk-header__navigation-item--home {
display: none;
}

// Installation guide screenshots
.app-img-guide {
width: 100%;
}

// Table hotfix
.nhsuk-table__body .nhsuk-table__cell {
vertical-align: top;
}

.nhsuk-table__header,
.nhsuk-table__cell {
padding: 16px 16px 16px 0;
}


1 change: 0 additions & 1 deletion app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

{% block headCSS %}
<link href="/css/main.css" rel="stylesheet">
<link href="/css/docs.css" rel="stylesheet">
{% endblock %}

{% block header %}
Expand Down

0 comments on commit dfa06d8

Please sign in to comment.