From df35aa2a5ff4ca87edaea95dee41d4c3460374ea Mon Sep 17 00:00:00 2001 From: meeb Date: Thu, 18 Feb 2021 19:21:41 +1100 Subject: [PATCH] increase media per page, tweak pagination button layout --- tubesync/common/static/styles/_template.scss | 6 ++++-- tubesync/tubesync/settings.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tubesync/common/static/styles/_template.scss b/tubesync/common/static/styles/_template.scss index bdba5c7..04bbb4b 100644 --- a/tubesync/common/static/styles/_template.scss +++ b/tubesync/common/static/styles/_template.scss @@ -181,8 +181,10 @@ main { display: inline-block; font-weight: bold; text-decoration: none; - padding: 5px 10px 5px 10px; - margin: 0 3px 0 3px; + padding: 5px 8px 4px 8px; + margin: 0 3px 6px 3px; + min-width: 40px; + min-height: 40px; background-color: $pagination-background-colour; color: $pagination-text-colour; border: 2px $pagination-border-colour solid; diff --git a/tubesync/tubesync/settings.py b/tubesync/tubesync/settings.py index f56d1c8..8f73ade 100644 --- a/tubesync/tubesync/settings.py +++ b/tubesync/tubesync/settings.py @@ -131,7 +131,7 @@ COMPLETED_TASKS_DAYS_TO_KEEP = 7 # Number of days to keep completed t SOURCES_PER_PAGE = 100 -MEDIA_PER_PAGE = 72 +MEDIA_PER_PAGE = 144 TASKS_PER_PAGE = 100