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

[dw-free] When entry width is less than sidebar width, sidebar on the right overlaps the entry

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

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

Make sure entry content is at least as wide as sidebar content in Tabula-
Rasa based layouts. Otherwise, the sidebar will start overlapping into the
entry content, eventually obscuring it. (This case was notable even with the
regular theme settings if you had a big font size/zoomed in)

Patch by [personal profile] fu.

Files modified:
  • bin/upgrading/s2layers/core2base/layout.s2
--------------------------------------------------------------------------------
diff -r 8efc50a6349e -r d20f5aa3535b bin/upgrading/s2layers/core2base/layout.s2
--- a/bin/upgrading/s2layers/core2base/layout.s2	Fri Jun 11 16:06:25 2010 +0800
+++ b/bin/upgrading/s2layers/core2base/layout.s2	Fri Jun 11 17:11:55 2010 +0800
@@ -357,6 +357,9 @@ q { font-style: italic; }
 .three-columns-right #content {
     border-right: $*sidebar_width_doubled solid transparent;
 }
+.column-right #content {
+    min-width: $*sidebar_width; /* prevents sidebar overlap of entry, when entry becomes narrower than sidebar */
+}
 
 #content-footer {
     height: 0;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

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