Restrict block display of summary to trackbacks.

Summary elements in the entry body should get
a triangle symbol displayed (as we do in the
backend).

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2020-04-24 22:08:45 +02:00
parent 05840cb189
commit 902d1799fc
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,8 @@
Version 2.3.5-beta1 ()
------------------------------------------------------------------------
* Fix: CSS: Restrict block display of summary to trackbacks. (#703)
* Fix: Don't strip HTML from comments body in serendipity_plugin_comments
before serendipity_event_unstrip_tags can convert the HTML tags
(being called via frontend_display hook). (#702)

View File

@ -1,4 +1,4 @@
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
@ -447,6 +447,10 @@ fieldset,
line-height: 1.8462;
}
.serendipity_section_trackbacks summary {
display: block;
}
#staticpage_childpages,
.content ul,
.content ol { margin: 0 0 1em 2em; }