From 2d91f3d0b399a4a0fdb69ae31dd8cd9f24993d00 Mon Sep 17 00:00:00 2001 From: "Angelo D. Moura" Date: Sun, 29 Nov 2020 23:28:30 +0000 Subject: [PATCH] [Directory] Changed the title of the template and add a css rule for actor-bio --- public/assets/css/network/public.css | 12 ++++++++++++ public/assets/css/network/public_mid.css | 12 ++++++++++++ public/assets/css/network/public_small.css | 12 ++++++++++++ templates/network/actors.html.twig | 2 +- templates/note/actor.html.twig | 2 +- 5 files changed, 38 insertions(+), 2 deletions(-) diff --git a/public/assets/css/network/public.css b/public/assets/css/network/public.css index b833d1492a..111f107c0f 100644 --- a/public/assets/css/network/public.css +++ b/public/assets/css/network/public.css @@ -411,3 +411,15 @@ cursor: pointer; z-index: 0; } + +/*actors stream*/ +.actor-bio{ + order: 3; + word-break: break-word; + padding: var(--small-size); + border-radius: 0 0 var(--unit-size) var(--unit-size); + width: 70%; + display: flex; + flex-wrap: wrap; + justify-content: right; +} \ No newline at end of file diff --git a/public/assets/css/network/public_mid.css b/public/assets/css/network/public_mid.css index 846104ae6b..302fd57401 100644 --- a/public/assets/css/network/public_mid.css +++ b/public/assets/css/network/public_mid.css @@ -410,3 +410,15 @@ cursor: pointer; z-index: 0; } + +/*actors stream*/ +.actor-bio{ + order: 3; + word-break: break-word; + padding: var(--small-size); + border-radius: 0 0 var(--unit-size) var(--unit-size); + width: 70%; + display: flex; + flex-wrap: wrap; + justify-content: right; +} \ No newline at end of file diff --git a/public/assets/css/network/public_small.css b/public/assets/css/network/public_small.css index 88d9fdcfc8..37fe33a143 100644 --- a/public/assets/css/network/public_small.css +++ b/public/assets/css/network/public_small.css @@ -409,3 +409,15 @@ cursor: pointer; z-index: 0; } + +/*actors stream*/ +.actor-bio{ + order: 3; + word-break: break-word; + padding: var(--small-size); + border-radius: 0 0 var(--unit-size) var(--unit-size); + width: 70%; + display: flex; + flex-wrap: wrap; + justify-content: right; +} \ No newline at end of file diff --git a/templates/network/actors.html.twig b/templates/network/actors.html.twig index b670e8afbb..4c843b3add 100644 --- a/templates/network/actors.html.twig +++ b/templates/network/actors.html.twig @@ -4,7 +4,7 @@ {{ parent() }} {% endblock %} -{% block title %}Welcome!{% endblock %} +{% block title %}Actors{% endblock %} {% block stylesheets %} {{ parent() }} diff --git a/templates/note/actor.html.twig b/templates/note/actor.html.twig index 50930205ae..e6c4661545 100644 --- a/templates/note/actor.html.twig +++ b/templates/note/actor.html.twig @@ -18,7 +18,7 @@ {% set actor_bio = actor.getBio() %} -
+
{% if actor_bio %}

{{ actor_bio }}

{% else %}