From ccef92f4645742cde42cebceb0d745e4937222f5 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Thu, 21 Oct 2021 16:40:07 +0200
Subject: [PATCH] grip

---
 .../admin/communication/website/pages/_treebranch.html.erb  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/views/admin/communication/website/pages/_treebranch.html.erb b/app/views/admin/communication/website/pages/_treebranch.html.erb
index 4fa433029..b5fe40cdd 100644
--- a/app/views/admin/communication/website/pages/_treebranch.html.erb
+++ b/app/views/admin/communication/website/pages/_treebranch.html.erb
@@ -3,13 +3,13 @@
     <div class="d-flex align-items-center treeview__label border-bottom p-1">
       <% if page.has_children? %>
         <%= link_to children_admin_communication_website_page_path(website_id: page.website.id, id: page.id),
-                    class: 'js-treeview-element d-inline-block p-1 ps-0', style: 'width: 22px', remote: true do %>
+                    class: 'js-treeview-element d-inline-block p-2 ps-0', style: 'width: 22px', remote: true do %>
           <span class="open_btn"><i class="fas fa-folder"></i></span>
           <span class="close_btn"><i class="fas fa-folder-open"></i></span>
         <% end %>
       <% end %>
-      <%= page %>
-      <%= link_to 'Voir', admin_communication_website_page_path(website_id: page.website.id, id: page.id), class: button_classes('btn-sm ms-3') %>
+      <%= link_to page, admin_communication_website_page_path(website_id: page.website.id, id: page.id) %>
+      <span class="move_btn ps-2"><i class="fas fa-grip-vertical"></i></span>
     </div>
     <% if page.has_children? %>
       <ul class="list-unstyled treeview__children js-treeview-children js-treeview-sortable ms-4">
-- 
GitLab