Browse Source

Break scheme name

pull/1972/head
Kat 3 years ago
parent
commit
4ea90cb3b8
  1. 4
      app/frontend/styles/_table-group.scss
  2. 2
      app/views/schemes/_scheme_list.html.erb

4
app/frontend/styles/_table-group.scss

@ -23,6 +23,10 @@
}
}
.scheme-name-cell {
word-break: break-all;
}
.app-table-group:focus {
box-shadow: 0 0 0 #{$govuk-focus-width * 2} $govuk-focus-colour;
outline: $govuk-focus-width solid govuk-colour("black");

2
app/views/schemes/_scheme_list.html.erb

@ -15,7 +15,7 @@
<% @schemes.each do |scheme| %>
<%= table.body do |body| %>
<%= body.row do |row| %>
<% row.cell(text: simple_format(scheme_cell(scheme), { class: "govuk-!-font-weight-bold" }, wrapper_tag: "div")) %>
<% row.cell(text: simple_format(scheme_cell(scheme), { class: "govuk-!-font-weight-bold scheme-name-cell" }, wrapper_tag: "div")) %>
<% row.cell(text: scheme.owning_organisation&.name) %>
<% row.cell(text: scheme.id_to_display) %>
<% row.cell(text: scheme.locations&.count) %>

Loading…
Cancel
Save