From 1e6853372d4577149dd07e92cd55a0bf9bf34710 Mon Sep 17 00:00:00 2001
From: Antoine Lambert <antoine.lambert@inria.fr>
Date: Fri, 24 Nov 2017 16:23:32 +0100
Subject: [PATCH] css fix: set 'overflow-x: auto' to swh object panels in
 browse

---
 swh/web/templates/browse.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/swh/web/templates/browse.html b/swh/web/templates/browse.html
index c459f1f2b..49df049b5 100644
--- a/swh/web/templates/browse.html
+++ b/swh/web/templates/browse.html
@@ -5,29 +5,29 @@
 
 <div class="panel-group" id="accordion">
   {% if top_panel_visible %}
-  <div class="panel panel-default">
+  <div class="panel panel-default" style="overflow-x: auto;">
       <div class="panel-heading">
         {% if top_panel_collapsible %}
         <a data-toggle="collapse" data-parent="#accordion" href="#swh-browse-top-collapse" style="outline:none;">
         {% endif %}
           <div class="panel-title pull-left">
-              <h4>{{ top_panel_text_left }}</h4> 
+              <h4>{{ top_panel_text_left }}</h4>
           </div>
           <div class="panel-title pull-right">
             <h4>{{ top_panel_text_right }}</h4>
           </div>
           <div class="clearfix"></div>
-        {% if top_panel_collapsible %}  
+        {% if top_panel_collapsible %}
         </a>
         {% endif %}
-          
+
       </div>
       {% if top_panel_collapsible %}
       <div id="swh-browse-top-collapse" class="panel-collapse collapse">
       {% endif %}
         <table class="table">
           <tbody>
-            {% for key, val in swh_object_metadata.items|dictsort:"0.lower" %}  
+            {% for key, val in swh_object_metadata.items|dictsort:"0.lower" %}
               <tr>
                 <th class="swh-metadata-table-row">{{ key }}</th>
                 <td class="swh-metadata-table-row">
@@ -43,7 +43,7 @@
   </div>
   {% endif %}
   {% if main_panel_visible %}
-  <div class="panel panel-default">
+  <div class="panel panel-default" style="overflow-x: auto;">
     {% block swh-browse-main-panel-content %}{% endblock %}
   </div>
   {% endif %}
-- 
GitLab