Skip to content

Commit

Permalink
Merge pull request #1784 from DFE-Digital/verify-lops-page-layout
Browse files Browse the repository at this point in the history
Verify lops page layout
  • Loading branch information
syed87 authored Nov 3, 2023
2 parents be70c3f + 82bf44b commit dd49cf0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/_task_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
}
}

.app-task-list__items-no-indentation {
@include govuk-font($size: 19);
@include govuk-responsive-margin(9, "bottom");
list-style: none;
padding-left: 0;
}

.app-task-list__items {
@include govuk-font($size: 19);
@include govuk-responsive-margin(9, "bottom");
Expand Down
2 changes: 1 addition & 1 deletion app/components/task_list/component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<%= section[:title] %>
</h2>

<ul class="app-task-list__items">
<ul class="<%= section[:title].present? ? 'app-task-list__items' : 'app-task-list__items-no-indentation' %>">
<% section[:items].each do |item| %>
<li class="app-task-list__item">
<% status_id = "#{section[:number]}-#{section[:key]}-#{item[:key]}-status" %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class ProfessionalStandingRequestsController < BaseController

def show
authorize [:assessor_interface, professional_standing_request]

render layout: "full_from_desktop"
end

def edit_locate
Expand Down

0 comments on commit dd49cf0

Please sign in to comment.