From 5bc4ba5fd010727c73140d32aff3ad27bf6f9087 Mon Sep 17 00:00:00 2001
From: Lloyd Meins <git@lloydmeins.de>
Date: Sat, 8 Jan 2022 17:38:14 +0100
Subject: [PATCH] Make tables horizontally scrollable even if they are not
 responsive

---
 CHANGELOG.rst                         | 5 +----
 aleksis/core/static/public/style.scss | 4 ++++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index e33418c1c..9e3c6f856 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -13,10 +13,6 @@ Added
 ~~~~~
 
 * Add preference for configuring the default phone number country code.
-
-Added
-~~~~~
-
 * OpenID Connect RSA keys can now be passed as string in config files
 * Views filtering for person names now also search the username of a linked user
 * OAuth2 applications now take an icon which is shown in the authorization progress.
@@ -45,6 +41,7 @@ Changed
 * OpenID Connect is enabled by default now, without RSA support
 * Login and authorization pages for OAuth2/OpenID Connect now indicate that the user is in progress
   to authorize an external application.
+* Tables can be scrolled horizontally.
 
 `2.5`_ – 2022-01-02
 -------------------
diff --git a/aleksis/core/static/public/style.scss b/aleksis/core/static/public/style.scss
index 4fb6d9b28..bd8f2e4d6 100644
--- a/aleksis/core/static/public/style.scss
+++ b/aleksis/core/static/public/style.scss
@@ -422,6 +422,10 @@ span.badge .material-icons {
 
 /* Table*/
 
+.table-container {
+  overflow-x: auto;
+}
+
 table.striped > tbody > tr:nth-child(odd), table tr.striped, table tbody.striped tr {
   background-color: rgba(208, 208, 208, 0.5);
 }
-- 
GitLab