diff --git a/core/themes/seven/css/components/entity-meta.css b/core/themes/seven/css/components/entity-meta.css index dfc9f88a1c..288cdaa2a8 100644 --- a/core/themes/seven/css/components/entity-meta.css +++ b/core/themes/seven/css/components/entity-meta.css @@ -59,6 +59,14 @@ padding: 0.85em 1.25em; text-shadow: 0 1px 0 white; } + +/** + * Hide JS summary from the details polyfill to make it consistent with native + * details elements. + * + * @todo Consider removing this after https://www.drupal.org/node/2493957 has + * been solved. + */ .entity-meta .seven-details .summary { - display: none; /* Hide JS summaries. @todo Rethink summaries. */ + display: none; } diff --git a/core/themes/seven/templates/details.html.twig b/core/themes/seven/templates/details.html.twig index c250d2a5d4..4a1004fef9 100644 --- a/core/themes/seven/templates/details.html.twig +++ b/core/themes/seven/templates/details.html.twig @@ -14,7 +14,11 @@ * @see template_preprocess_details() */ #} -{# @todo details class has been prefixed to avoid collision with Modernizr. #} +{# + Prefix 'details' class to avoid collision with Modernizr. + + @todo Remove prefix after https://www.drupal.org/node/2981732 has been solved. +#} {%- if title -%} {%