From 3ec090f22283ec39fa0b044ea2d887130e23b459 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sat, 13 May 2023 12:24:59 +0300 Subject: [PATCH] Fix default offsets --- ui-lib.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-lib.pl b/ui-lib.pl index da675d0f7..9620bee4b 100755 --- a/ui-lib.pl +++ b/ui-lib.pl @@ -2824,9 +2824,9 @@ my %rv; my $id = $main::ui_paginations++; my @arr = @{$arr}; my ($script_name) = $0 =~ /([^\/]*\.cgi)$/; -my $top_offset_px = int($opts->{"top_offset_px"}) || 77; -my $bottom_offset_px = int($opts->{"bottom_offset_px"}) || 77; -my $row_size_px = int($opts->{"row_size_px"}) || 26; +my $top_offset_px = int($opts->{"top_offset_px"}) || 105; +my $bottom_offset_px = int($opts->{"bottom_offset_px"}) || 90; +my $row_size_px = int($opts->{"row_size_px"}) || 24; my $items_per_page = int($tconfig{'paginate'}) || int($opts->{"paginate${id}"}) || 20; my $curent_page = int($opts->{"page${id}"}) || 1; my $search_term = &un_urlize($opts->{"search${id}"});