Skip to content

Commit

Permalink
Merge pull request #13758 from hellcp-work/sticky-action-header
Browse files Browse the repository at this point in the history
Make the action header in the action selection dropdown sticky
  • Loading branch information
hennevogel committed Jan 24, 2023
2 parents d04b090 + 7327747 commit cb42e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/app/views/webui/request/_action_text.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.ms-1.me-3{ id: "action-seen-by-user-wrapper-in-select-#{action.id}" }
= render ActionSeenByUserComponent.new(action: action, user: user, render_only: true)

.d-block
.d-block.w-100
- details = action.commit_details
- if details
- if details.key?('comment')
Expand Down
4 changes: 2 additions & 2 deletions src/api/app/views/webui/request/_actions_details.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
%button.btn.btn-outline-primary.btn-sm.dropdown-toggle{ 'aria-expanded' => 'false', 'data-bs-toggle' => 'dropdown',
:type => 'button', 'data-boundary' => 'viewport' }
Select Action
%ul.dropdown-menu.dropdown-menu-start.scrollable-dropdown
%li
%ul.dropdown-menu.dropdown-menu-start.scrollable-dropdown.pt-0
%li.card-header.px-1.sticky-top
%h6.dropdown-header
- if User.session
%span Seen
Expand Down

0 comments on commit cb42e4d

Please sign in to comment.