diff --git a/app/helpers/filters_helper.rb b/app/helpers/filters_helper.rb index 35605b9dc..0d71685a7 100644 --- a/app/helpers/filters_helper.rb +++ b/app/helpers/filters_helper.rb @@ -41,7 +41,7 @@ module FiltersHelper end def filter_title(title) - tag.strong title, class: "popup__title", tabindex: "-1", data: { dialog_target: "focusTouch" } + tag.strong title, class: "popup__title pad-inline-half", tabindex: "-1", data: { dialog_target: "focusTouch" } end def collapsible_nav_section(title, **properties, &block) diff --git a/app/views/cards/boards/edit.html.erb b/app/views/cards/boards/edit.html.erb index 265dc0a9e..3dd6aeb31 100644 --- a/app/views/cards/boards/edit.html.erb +++ b/app/views/cards/boards/edit.html.erb @@ -5,10 +5,10 @@ dialog_target: "dialog", navigable_list_focus_on_selection_value: false, navigable_list_actionable_items_value: true } do %> - Move this card to… + <%= filter_title "Move this card to…" %> <%= text_field_tag :search, nil, placeholder: "Filter…", class: "input input--transparent txt-small margin-block-half font-weight-normal", autofocus: true, - type: "search", autocorrect: "off", autocomplete: "off", data: { "1p-ignore": "true", filter_target: "input", action: "input->filter#filter" } %> + type: "search", autocorrect: "off", autocomplete: "off", data: { "1p-ignore": "true", filter_target: "input", dialog_target: "focusMouse", action: "input->filter#filter" } %>