diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-22 00:03:24 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-22 00:03:24 +0800 |
commit | f78c58931ec4e8c10e6f085ee5bea9ff8d4ad58a (patch) | |
tree | e00b6cca382b031cd8b6d0bfebd8f31b687808ed /jimbrella/web.py | |
parent | 537d044b73d277c5326d143a55ca57a233786af0 (diff) |
Mobile view for overdue table
This prevents banner and tile containers from overflowing to the left.
Diffstat (limited to 'jimbrella/web.py')
-rw-r--r-- | jimbrella/web.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jimbrella/web.py b/jimbrella/web.py index 0b32ce0..4237055 100644 --- a/jimbrella/web.py +++ b/jimbrella/web.py @@ -18,6 +18,7 @@ def admin_index(): available=statuses["available"], lent=statuses["lent"], overdue=statuses["overdue"], + mobile=user_agent(request.user_agent.string).is_mobile, ) |