Skip to content
Browse files

Fixes for lists in static pages.

  • Loading branch information...
1 parent 1046bec commit 1ab6ce03eec59c95fef750d9c97f53b77c0849c6 @yellowled committed
Showing with 6 additions and 2 deletions.
  1. +2 −2 plugin_staticpage.tpl
  2. +4 −0 style.css
View
4 plugin_staticpage.tpl
@@ -1,4 +1,4 @@
-<article id="staticpage_{$staticpage_pagetitle|@makeFilename}" class="clearfix serendipity_staticpage {if $staticpage_articleformat} serendipity_entry{/if}">
+<article id="staticpage_{$staticpage_pagetitle|@makeFilename}" class="clearfix serendipity_staticpage{if $staticpage_articleformat} serendipity_entry{/if}">
<header>
<h2>{if $staticpage_articleformat}{if $staticpage_articleformattitle}{$staticpage_articleformattitle|@escape}{else}{$staticpage_pagetitle}{/if}{else}{if $staticpage_headline}{$staticpage_headline|@escape}{else}{$staticpage_pagetitle}{/if}{/if}</h2>
{if is_array($staticpage_childpages)}
@@ -24,7 +24,7 @@
</div>
{/if}
{if $staticpage_content}
- <div class="clearfix content staticpage_content">
+ <div class="clearfix content {if $staticpage_articleformat}serendipity_entry_body{else}staticpage_content{/if}">
{$staticpage_content}
</div>
{/if}
View
4 style.css
@@ -451,12 +451,16 @@ fieldset,
}
#staticpage_childpages,
+.staticpage_content ul,
+.staticpage_content ol,
.serendipity_entry_body ul,
.serendipity_entry_body ol,
#extended ul,
#extended ol { margin: 0 0 1em 2em; }
#staticpage_childpages li ul,
+.staticpage_content li ul,
+.staticpage_content li ol,
.serendipity_entry_body li ul,
.serendipity_entry_body li ol,
#extended li ul,

0 comments on commit 1ab6ce0

Please sign in to comment.
Something went wrong with that request. Please try again.