|
1 | | -<li class="basis-60 max-h-full flex flex-col shrink-0 p-2 border bg-body-contrast border-background-100 rounded-md shadow-xs snap-center cpy-grouping js-sortable-container" |
| 1 | +<li class="w-64 max-h-full flex flex-col shrink-0 p-2 border bg-body-contrast border-background-100 rounded-md shadow-xs snap-center cpy-grouping js-sortable-container" |
2 | 2 | id="<%= dom_id(grouping) %>" |
3 | 3 | data-controller="grouping-column" |
| 4 | + data-action="keypress.n@window->grouping-column#nWasPressed" |
4 | 5 | > |
5 | 6 | <header class="flex flex-row flex-nowrap gap-x-1 mb-4 px-2 relative" data-controller="dropdown"> |
6 | 7 | <%= link_to edit_visualization_grouping_path(grouping.visualization_id, grouping.id), class: "grow font-semibold truncate text-readable-content-500 hover:text-readable-content-700", data: { turbo_frame: 'grouping_form' } do %> |
|
41 | 42 |
|
42 | 43 | <ul |
43 | 44 | id="<%= dom_id(grouping) %>-cards-wrapper" |
44 | | - class="flex flex-col flex-auto basis-auto flex-nowrap gap-y-2 items-stretch overflow-y-auto overflow-x-hidden scroll-smooth snap-y js-no-column-drag cpy-drop-zone" |
| 45 | + class="flex flex-col flex-auto flex-nowrap gap-y-2 items-stretch overflow-y-auto overflow-x-hidden scroll-smooth snap-y js-no-column-drag cpy-drop-zone" |
45 | 46 | data-controller="sortable" |
46 | 47 | data-sortable-target="container" |
47 | 48 | data-sortable-shared-group-value="cards" |
|
56 | 57 | </ul> |
57 | 58 |
|
58 | 59 | <%= render partial: 'visualizations/_column/inline_card_form', locals: { grouping: } %> |
59 | | - <button class="cpy-inline-create-button flex flex-row items-center mt-4 p-2 hover:bg-background-100 rounded-md" |
| 60 | + <button class="cpy-inline-create-button group flex flex-row items-center mt-4 p-2 hover:bg-background-100 rounded-md" |
60 | 61 | data-grouping-column-target="showFormButton" |
61 | 62 | data-action="click->grouping-column#showInlineCardForm"> |
62 | 63 | <i class="fa-solid fa-plus mr-2"></i> |
63 | 64 | <p class="grow text-left"> |
64 | 65 | <%= t('visualizations.column_menu.create_issue') %> |
65 | 66 | </p> |
| 67 | + <span class="group-hover:flex hidden text-xs font-medium ml-2"><%= t("actions.press") %> N</span> |
66 | 68 | </button> |
67 | 69 | </li> |
0 commit comments