Commit 703dd5a8 authored by Miriam Nugent's avatar Miriam Nugent Committed by Sascha Eggenberger
Browse files

Issue #3377045: gin-table-scroll-wrapper adds unnecessary horizontal scroll on...

Issue #3377045: gin-table-scroll-wrapper adds unnecessary horizontal scroll on tables without header
parent 2e6516a5
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,7 +40,9 @@
 */
#}
<div class="layer-wrapper gin-layer-wrapper">
  {% if header %}
  <div class="gin-table-scroll-wrapper">
  {% endif %}
    <table{{ attributes }}>
      {% if caption %}
        <caption>{{ caption }}</caption>
@@ -123,5 +125,7 @@
        </tfoot>
      {% endif %}
    </table>
  {% if header %}
  </div>
  {% endif %}
</div>