Skip to content

Commit

Permalink
Merge pull request #1036 from alphagov/fix-page-title-context-link
Browse files Browse the repository at this point in the history
Fix focus style on page title context link
  • Loading branch information
andysellick authored Aug 9, 2019
2 parents 137b158 + b30408b commit fb51504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
&:link,
&:visited {
color: inherit;
}

&:focus {
color: $govuk-focus-text-colour;
}
&:hover {
text-decoration: underline;
}

&:hover,
&:focus {
text-decoration: underline;
text-decoration: none;
color: $govuk-focus-text-colour;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<%= content_tag(:div, class: classes) do %>
<% if context %>
<p class="gem-c-title__context">
<%= context_href ? link_to(context_text, context_href, class: 'gem-c-title__context-link', data: context_data) : context_text %>
<%= context_href ? link_to(context_text, context_href, class: 'gem-c-title__context-link govuk-link', data: context_data) : context_text %>
</p>
<% end %>
<h1 class="gem-c-title__text <% if average_title_length %>gem-c-title__text--<%= average_title_length %><% end %>">
Expand Down

0 comments on commit fb51504

Please sign in to comment.