fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-09-14 07:25 am

[dw-free] In some styles, list characters overlap icon

[commit: http://hg.dwscoalition.org/dw-free/rev/f7ce0e83fc93]

http://bugs.dwscoalition.org/show_bug.cgi?id=3020

Tweak the list display, to avoid overlapping with icons in entries and
comments.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/core2base/layout.s2
--------------------------------------------------------------------------------
diff -r 0a757ac04285 -r f7ce0e83fc93 bin/upgrading/s2layers/core2base/layout.s2
--- a/bin/upgrading/s2layers/core2base/layout.s2	Tue Sep 14 15:17:47 2010 +0800
+++ b/bin/upgrading/s2layers/core2base/layout.s2	Tue Sep 14 15:24:56 2010 +0800
@@ -511,6 +511,12 @@ h2#pagetitle {
 .entry a:hover { $entry_link_hover_colors }
 .entry a:active { $entry_link_active_colors }
 
+/* To prevent overlapping when icon's on the left */
+/* and list is the first thing in content */
+.entry-content li,
+.comment-content li {
+    list-style-position: inside;
+    }
 
 .metadata ul {
     display: inline;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org