diff --git a/Web/Presenters/DocumentsPresenter.php b/Web/Presenters/DocumentsPresenter.php index 78f17bfc..dce7e4e3 100644 --- a/Web/Presenters/DocumentsPresenter.php +++ b/Web/Presenters/DocumentsPresenter.php @@ -75,7 +75,7 @@ final class DocumentsPresenter extends OpenVKPresenter $this->template->locale_string = "you_have_x_documents"; if ($current_tab != 0) { $this->template->locale_string = "x_documents_in_tab"; - } else if ($owner_id < 0) { + } elseif ($owner_id < 0) { $this->template->locale_string = "group_has_x_documents"; } diff --git a/Web/static/css/main.css b/Web/static/css/main.css index 1d96fed3..38e32431 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -3921,6 +3921,11 @@ hr { height: 25px; } +.object_fit_ava { + object-fit: cover; + object-position: top; +} + .like_tooltip_wrapper .like_tooltip_body a { height: 25px; } diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index e6ed2031..048c46af 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -902,7 +902,7 @@ tippy.delegate('body', { that._likesList.items.forEach(item => { final_template.find('.like_tooltip_body .like_tooltip_body_grid').append(` - . + . `) }) that.setContent(final_template.nodes[0].outerHTML)