kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-09-24 10:10 pm

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

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

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

Fix CSS for list positioning in Bases.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/bases/layout.s2
--------------------------------------------------------------------------------
diff -r 784ebbe94b9d -r 32ac7b21797f bin/upgrading/s2layers/bases/layout.s2
--- a/bin/upgrading/s2layers/bases/layout.s2	Fri Sep 24 17:00:06 2010 -0500
+++ b/bin/upgrading/s2layers/bases/layout.s2	Fri Sep 24 17:10:00 2010 -0500
@@ -637,6 +637,13 @@ border-bottom: 0.083em solid $*color_ent
 
 .entry-content { padding: 0.833em; min-height: 8.5em; border-bottom: 0.083em solid $*color_entry_border; $entry_background}
 
+/* 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;
+    }
+
 .entry-content a img {border-width: 0.083em; padding: 0.25em;}
 .entry-content a img:hover {opacity: .7;}
 
--------------------------------------------------------------------------------