Skip to content

Commit

Permalink
Restrict block display of summary to trackbacks.
Browse files Browse the repository at this point in the history
Summary elements in the entry body should get
a triangle symbol displayed (as we do in the
backend).

Signed-off-by: Thomas Hochstein <[email protected]>
  • Loading branch information
th-h committed Apr 24, 2020
1 parent 05840cb commit 902d179
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/NEWS
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
6 changes: 5 additions & 1 deletion templates/2k11/style.css
Original file line number Diff line number Diff line change
@@ -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; }
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 902d179

Please sign in to comment.