From 7719ff41addad2c2c562bef3dc9cbebc0ff8fe12 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 10 Aug 2020 15:10:02 +0200 Subject: [PATCH] Make tables responsive --- note_kfet/templates/base.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/note_kfet/templates/base.html b/note_kfet/templates/base.html index e7af8fa9..671661e3 100644 --- a/note_kfet/templates/base.html +++ b/note_kfet/templates/base.html @@ -79,6 +79,14 @@ SPDX-License-Identifier: GPL-3.0-or-later .container-fluid { max-width: 1600px; } + + /* Apply Bootstrap table-responsive to all Django tables */ + .table-container { + display: block; + width: 100%; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + } {% block extracss %}{% endblock %}