diff --git a/Web/Presenters/templates/components/comments.xml b/Web/Presenters/templates/components/comments.xml index d84a0732..3290e35c 100644 --- a/Web/Presenters/templates/components/comments.xml +++ b/Web/Presenters/templates/components/comments.xml @@ -1,6 +1,6 @@

{_comments} ({$count})

-
+
{var $commentsURL = "/al_comments/create/$model/" . $parent->getId()} {var $club = $parent instanceof \openvk\Web\Models\Entities\Post && $parent->getTargetWall() < 0 ? (new openvk\Web\Models\Repositories\Clubs)->get(abs($parent->getTargetWall())) : $club} {if !$readOnly} diff --git a/Web/static/css/main.css b/Web/static/css/main.css index d429fb1a..eff22be4 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -2300,3 +2300,11 @@ a.poll-retract-vote { background-image: url(/assets/packages/static/openvk/img/videoico.png); display: none; } + +#standaloneCommentBox { + position: sticky; + top: 0; + background-color: #fff; + border-bottom: 1px dotted #8b8b8b; + z-index: 10; +} \ No newline at end of file