Skip to content

Commit

Permalink
UPD: импрувит таблицу каналов (фиксирует кнопки с действиями)
Browse files Browse the repository at this point in the history
  • Loading branch information
owlscatcher committed Feb 15, 2024
1 parent e75c3d7 commit 40833f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/channel/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<th scope="col"><%= t('activerecord.attributes.channel.conversion_coefficient')%></th>
<th scope="col"><%= t('activerecord.attributes.channel.service')%></th>

<th scope="col" style="width: 10%"><%= t('action') %></th>
<th scope="col" style="position: sticky; right: 0; background: white; z-index: 1;" style="width: 10%"><%= t('action') %></th>
</tr>
</thead>
<tbody class="text-nowrap">
Expand All @@ -82,7 +82,7 @@
<td><%= channel.service.name %></td>


<td>
<td style="position: sticky; right: 0; background: white; z-index: 1;">
<div class="d-flex">
<%= link_to edit_admin_channel_path(channel.id), class: "btn", data: { action: "click->modal#open", turbo_stream: "" } do %>
<i class="bi bi-pen"></i>
Expand Down

0 comments on commit 40833f1

Please sign in to comment.