From 81e8cb36798e8a5eabfd10c3977aebe2a188f719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 21 Feb 2019 09:28:43 -0500 Subject: [PATCH] Turns out applying more generally does break things --- agaric/css/agaric.css | 2 +- agaric/sass/agaric/_layout.flow.scss | 4 ++-- agaric/templates/field/field--comment.html.twig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/agaric/css/agaric.css b/agaric/css/agaric.css index dc29cae..4ad1587 100644 --- a/agaric/css/agaric.css +++ b/agaric/css/agaric.css @@ -7299,7 +7299,7 @@ iframe { margin-left: auto; margin-right: auto; } -.flow.content { +.flow.content.comment-form { width: 100%; } @font-face { diff --git a/agaric/sass/agaric/_layout.flow.scss b/agaric/sass/agaric/_layout.flow.scss index 7140091..e6372ea 100644 --- a/agaric/sass/agaric/_layout.flow.scss +++ b/agaric/sass/agaric/_layout.flow.scss @@ -111,8 +111,8 @@ } // Adding this so the comment box at the bottom isn't unnaturally small. -// This perhaps should be more precisely targeted, or more generally. +// Applying more generally breaks node content layout. -.flow.content { +.flow.content.comment-form { width: 100%; } diff --git a/agaric/templates/field/field--comment.html.twig b/agaric/templates/field/field--comment.html.twig index 76754d7..9d07b0c 100644 --- a/agaric/templates/field/field--comment.html.twig +++ b/agaric/templates/field/field--comment.html.twig @@ -56,7 +56,7 @@ {% if comment_form %}
-
+

{{ 'Add new comment'|t }}

{{ comment_form }}