diff --git a/core/modules/comment/templates/comment.html.twig b/core/modules/comment/templates/comment.html.twig
index 933cc4d..e8b0e1f 100644
--- a/core/modules/comment/templates/comment.html.twig
+++ b/core/modules/comment/templates/comment.html.twig
@@ -73,11 +73,6 @@
indicator here would break the render cache.
#}
- {% if title %}
- {{ title_prefix }}
-
{{ title }}
- {{ title_suffix }}
- {% endif %}
{{ user_picture }}
@@ -96,10 +91,12 @@
- {{ content|without('links') }}
- {% if content.links %}
- {{ content.links }}
+ {% if title %}
+ {{ title_prefix }}
+
{{ title }}
+ {{ title_suffix }}
{% endif %}
+ {{ content }}
diff --git a/core/themes/bartik/bartik.theme b/core/themes/bartik/bartik.theme
index 1f69448..ad89b66 100644
--- a/core/themes/bartik/bartik.theme
+++ b/core/themes/bartik/bartik.theme
@@ -103,6 +103,17 @@ function bartik_preprocess_block(&$variables) {
}
/**
++ * Implements hook_preprocess_HOOK() for comment.html.twig.
++ */
+function bartik_preprocess_comment(&$variables) {
+ if (isset($variables['content']['links'])) {
+ // Add NAV wrapper element for comment links.
+ $variables['content']['links']['#prefix'] = '';
+ }
+}
+
+/**
* Implements hook_preprocess_HOOK() for menu.html.twig.
*/
function bartik_preprocess_menu(&$variables) {
diff --git a/core/themes/bartik/css/components/comments.css b/core/themes/bartik/css/components/comments.css
index 9f22c51..0e89e78 100644
--- a/core/themes/bartik/css/components/comments.css
+++ b/core/themes/bartik/css/components/comments.css
@@ -57,6 +57,9 @@
position: relative;
width: 100%;
}
+.comment__text h3 {
+ margin-top: 0;
+}
.comment__text:before {
content: '';
position: absolute;
@@ -116,9 +119,6 @@
margin-right: 0;
padding: 5px 5px 5px 2px;
}
-.comment-footer {
- display: table-row;
-}
.comment--unpublished .comment__text:after,
.node--unpublished .comment__text:after {
border-right-color: #fff4f4; /* LTR */
diff --git a/core/themes/bartik/templates/comment.html.twig b/core/themes/bartik/templates/comment.html.twig
index d4f4b3d..216f3db 100644
--- a/core/themes/bartik/templates/comment.html.twig
+++ b/core/themes/bartik/templates/comment.html.twig
@@ -79,11 +79,6 @@
indicator here would break the render cache.
#}
- {% if title %}
- {{ title_prefix }}
- {{ title }}
- {{ title_suffix }}
- {% endif %}
{{ title }}
+ {{ title_suffix }} + {% endif %}{{ title }}
- {{ title_suffix }} - {% endif %}{{ title }}
+ {{ title_suffix }} {% endif %} + {{ content }}