diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index 83ebfe87..4711c614 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -264,14 +264,15 @@
-
-
+
+ -
+ style="max-width: 170px; max-height: 127px; margin: auto;" /> +
{ovk_proc_strtr($video->getName(), 30)} + {$video->getPublicationTime()} | {_comments} ({$video->getCommentsCount()})
diff --git a/Web/static/css/style.css b/Web/static/css/style.css index d7904638..0c3c7d13 100644 --- a/Web/static/css/style.css +++ b/Web/static/css/style.css @@ -1356,3 +1356,17 @@ body.scrolled .toTop:hover { .gift_sel.disabled { opacity: .5; } + +.ovk-video { + margin-bottom: 1rem; + padding: 0 6px; +} + +.ovk-video > .preview { + width: 170px; + height: 127px; + border: 1px solid #ccc; + align-content: center; + display: flex; + padding: 1px; +}