mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Improved post search appearance on small screens
This commit is contained in:
@ -158,8 +158,7 @@ App.Presenters.PostListPresenter = function(
|
||||
if ($firstPost.length === 0) {
|
||||
return;
|
||||
}
|
||||
$el.find('.search').css('margin-left', $firstPost.offset().left - $list.offset().left);
|
||||
$el.find('.search').css('margin-right', $list.width() - ($lastPost.offset().left - $list.offset().left + $lastPost.width()));
|
||||
$el.find('.search').width($lastPost.offset().left + $lastPost.width() - $firstPost.offset().left);
|
||||
}
|
||||
|
||||
function postTagButtonClicked(e) {
|
||||
|
Reference in New Issue
Block a user