From f3b49bedaf6d56e17361b145ecde12bad9903545 Mon Sep 17 00:00:00 2001 From: rem Date: Thu, 13 Jun 2024 16:29:29 +0200 Subject: [PATCH] add redirect on post profile picture+name --- public/css/components/post_mini.css | 10 ++++++++++ templates/post/post_mini.html.twig | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/public/css/components/post_mini.css b/public/css/components/post_mini.css index 4d52c60..ac0ce13 100644 --- a/public/css/components/post_mini.css +++ b/public/css/components/post_mini.css @@ -9,6 +9,16 @@ a { text-decoration: none; color: black; + + img { + margin-right: 5px; + } + } + + .profile { + display: flex; + flex-direction: rows; + align-items: center; } &.nightmare { diff --git a/templates/post/post_mini.html.twig b/templates/post/post_mini.html.twig index a45013f..fd45a6a 100644 --- a/templates/post/post_mini.html.twig +++ b/templates/post/post_mini.html.twig @@ -2,11 +2,10 @@
- + - {{ post.profil.name }} - {# - {{ post.dateCreated }} #} + - {{ post.createdAt|date('l, F j, Y') }}