From 7997950fa8371b2d686e062de2c3d373b5800d77 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Sun, 26 Apr 2020 21:32:49 +0200 Subject: [PATCH] bugfix: download items not showing correctly --- public/css/modules/download-tab.css | 3 ++- public/js/modules/downloads.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/css/modules/download-tab.css b/public/css/modules/download-tab.css index df9d80b..89da349 100644 --- a/public/css/modules/download-tab.css +++ b/public/css/modules/download-tab.css @@ -28,8 +28,9 @@ } #download_list { - padding: 0px 8px; + width: 100%; height: calc(100% - 32px); + padding: 0px 8px 0px 28px; overflow-y: scroll; } diff --git a/public/js/modules/downloads.js b/public/js/modules/downloads.js index 4dc2ff9..cc5d062 100644 --- a/public/js/modules/downloads.js +++ b/public/js/modules/downloads.js @@ -1,10 +1,10 @@ import { socket } from './socket.js' import { toast } from './toasts.js' -import Utils from './utils.js' /* ===== Locals ===== */ const tabMinWidth = 250 const tabMaxWidth = 500 + let cachedTabWidth = parseInt(localStorage.getItem('downloadTabWidth')) || 300 let queueList = {} let queue = []