Actions
Patch #4069
closedAlternate theme lacking right border if no sidebar present
Start date:
2009-10-21
Due date:
% Done:
0%
Estimated time:
Description
Pages without a sidebar lack the right border on the content div with the alternate style. It's enough to specialise the #content style in the alternate css with a #main.nosidebar #content to get it back. (test on Safari 4, redmine r2902).
git diff:
--- a/public/themes/alternate/stylesheets/application.css
+++ b/public/themes/alternate/stylesheets/application.css
@@ -3,7 +3,7 @@
body, #wrapper { background-color:#EEEEEE; }
#header, #top-menu { margin: 0px 10px 0px 11px; }
#main { background: #EEEEEE; margin: 8px 10px 0px 10px; }
-#content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-top: 1px solid #d7d7d7; }
+#content, #main.nosidebar #content { background: #fff; border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; border-left: 1px solid #d7d7d7; border-
#footer { background-color:#EEEEEE; border: 0px; }
/* Headers */
Actions