From a3d535040d86ba25179bf5d8bd0adbb661ed717f Mon Sep 17 00:00:00 2001 From: mrilyew <99399973+mrilyew@users.noreply.github.com> Date: Fri, 25 Oct 2024 17:17:12 +0300 Subject: [PATCH] fix square avatars, video previews and bottm pgntr --- Web/Presenters/SearchPresenter.php | 2 +- Web/Presenters/templates/Search/Index.xml | 10 +++++----- Web/Presenters/templates/components/video.xml | 8 ++++---- Web/static/css/audios.css | 1 + 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Web/Presenters/SearchPresenter.php b/Web/Presenters/SearchPresenter.php index 72c34e89..a7f3f151 100644 --- a/Web/Presenters/SearchPresenter.php +++ b/Web/Presenters/SearchPresenter.php @@ -124,6 +124,6 @@ final class SearchPresenter extends OpenVKPresenter 'pageCount' => ceil($count / $this->template->perPage), ]; $this->template->extendedPaginatorConf = clone $this->template->paginatorConf; - $this->template->extendedPaginatorConf->space = 12; + $this->template->extendedPaginatorConf->space = 11; } } diff --git a/Web/Presenters/templates/Search/Index.xml b/Web/Presenters/templates/Search/Index.xml index 8979b842..6cbf1036 100644 --- a/Web/Presenters/templates/Search/Index.xml +++ b/Web/Presenters/templates/Search/Index.xml @@ -32,13 +32,13 @@
{if $count > 0} {if $section === 'users'} -
+
- {_photo} + {_photo} @@ -128,13 +128,13 @@ highlightText({$query}, '.page_wrap_content_main', ['text']) {elseif $section === 'groups'} -
+
- {_photo} + {_photo} @@ -183,7 +183,7 @@ highlightText({$query}, '.page_wrap_content_main', ['text', "td[data-highlight='_clubDesc']"]) {elseif $section === 'apps'} -
+
diff --git a/Web/Presenters/templates/components/video.xml b/Web/Presenters/templates/components/video.xml index 2006ec5c..f9ab070e 100644 --- a/Web/Presenters/templates/components/video.xml +++ b/Web/Presenters/templates/components/video.xml @@ -3,12 +3,12 @@
- + {ifset infotable} diff --git a/Web/static/css/audios.css b/Web/static/css/audios.css index 634639f2..21da3cda 100644 --- a/Web/static/css/audios.css +++ b/Web/static/css/audios.css @@ -549,6 +549,7 @@ .playlistListView .playlistInfo .playlistName { font-weight: 600; + line-height: 12px; } .playlistListView .playlistInfo .playlistMeta, .playlistListView .playlistInfo .playlistMeta span {