Vote #65888
完了Alternate theme lacking right border if no sidebar present
0%
説明
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 */
journals
Just wanted to get this off my plate. Eric, I noticed you incorporated some css fixes, would you mind taking those in too? Thanks :-)
--------------------------------------------------------------------------------
Applied in r3069.
Note that the patched line was truncated in your diff.
--------------------------------------------------------------------------------
Thanks, and sorry for the truncated diff.
--------------------------------------------------------------------------------