From ead67f32fc8eb34a12885274aa6f9f7162918ba1 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Tue, 30 May 2023 09:23:05 +0200
Subject: [PATCH] fix

---
 app/assets/stylesheets/admin/pure/navigation.sass | 15 +++++++++++++++
 app/assets/stylesheets/admin/pure/style.sass      |  2 +-
 .../admin/communication/websites/show.html.erb    |  4 ----
 .../admin/layouts/themes/pure/_hero.html.erb      |  2 +-
 4 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/app/assets/stylesheets/admin/pure/navigation.sass b/app/assets/stylesheets/admin/pure/navigation.sass
index 16525a92a..05a609120 100644
--- a/app/assets/stylesheets/admin/pure/navigation.sass
+++ b/app/assets/stylesheets/admin/pure/navigation.sass
@@ -41,3 +41,18 @@
         a
             color: white
             text-decoration: none
+nav[aria-label="breadcrumb"]
+    margin-left: calc(-1 * var(--bs-gutter-x))
+    margin-right: calc(-1 * var(--bs-gutter-x))
+    overflow-x: scroll
+    padding-left: var(--bs-gutter-x)
+    padding-right: var(--bs-gutter-x)
+    .breadcrumb
+        align-items: center
+        flex-wrap: nowrap
+        .breadcrumb-item
+            flex-shrink: 0
+            white-space: nowrap
+            &:last-of-type
+                padding-right: var(--bs-gutter-x)
+                
\ No newline at end of file
diff --git a/app/assets/stylesheets/admin/pure/style.sass b/app/assets/stylesheets/admin/pure/style.sass
index 62a97e91e..7e7b53360 100644
--- a/app/assets/stylesheets/admin/pure/style.sass
+++ b/app/assets/stylesheets/admin/pure/style.sass
@@ -101,9 +101,9 @@ p + .form-label
 
 .commands
     background: $color-commands
-    position: sticky
     bottom: 0
     left: 0
+    position: sticky
     right: 0
     z-index: 100
 
diff --git a/app/views/admin/communication/websites/show.html.erb b/app/views/admin/communication/websites/show.html.erb
index 01e094347..04543e484 100644
--- a/app/views/admin/communication/websites/show.html.erb
+++ b/app/views/admin/communication/websites/show.html.erb
@@ -10,10 +10,6 @@
                     @website.about,
                     [:admin, @website.about] unless @website.about.nil? %>)
   <% end %>
-  <% if @website.git_repository.valid? %>
-    <br>
-    <%= link_to @website.git_repository.url, @website.git_repository.url, target: :_blank %>
-  <% end %>
 <% end %>
 
 <%= render 'admin/communication/websites/sidebar' do %>
diff --git a/app/views/admin/layouts/themes/pure/_hero.html.erb b/app/views/admin/layouts/themes/pure/_hero.html.erb
index c092ae41c..acdaf1a09 100644
--- a/app/views/admin/layouts/themes/pure/_hero.html.erb
+++ b/app/views/admin/layouts/themes/pure/_hero.html.erb
@@ -1,6 +1,6 @@
 <div class="hero">
   <div class="container-fluid">
-    <div class="d-flex">
+    <div class="d-xl-flex">
       <h1><%= yield :title %></h1>
       <div class="ms-xl-auto text-xl-end mt-2">
         <%= yield :title_right %>
-- 
GitLab