[CS-Project-svn_notify] SF.net SVN: cs-project:[934] trunk/1.2
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-02-06 19:20:13
|
Revision: 934 http://cs-project.svn.sourceforge.net/cs-project/?rev=934&view=rev Author: crazedsanity Date: 2009-02-06 19:20:09 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Fix display issue with notes deforming the page layout (#249). /public_html/css/common.css: * added helpdesk_comment_header and helpdesk_comment_body styles. /templates/content/helpdesk/view.content.tmpl: * widen the issue title to 750 from 650 (works fine on 1024x768 or better) * give comment header new CSS class (helpdesk_comment_header) * give comment body new CSS class (helpdesk_comment_body) -- the old style was setting the width to be 100%, which is what deformed the page. Modified Paths: -------------- trunk/1.2/public_html/css/common.css trunk/1.2/templates/content/helpdesk/view.content.tmpl Modified: trunk/1.2/public_html/css/common.css =================================================================== --- trunk/1.2/public_html/css/common.css 2009-02-06 18:25:22 UTC (rev 933) +++ trunk/1.2/public_html/css/common.css 2009-02-06 19:20:09 UTC (rev 934) @@ -56,4 +56,18 @@ padding-left:20px; background-color: white; border: dashed #000 1px; +} + +/* Helpdesk Styles */ +.helpdesk_comment_header { + border-top:dashed #000 1px; + padding-bottom:1em; + border-left:solid #000 1px; +} +.helpdesk_comment_body { + width:750; + overflow:auto; + padding-bottom:1em; + border-left:solid #000 1px; + padding-left:1em; } \ No newline at end of file Modified: trunk/1.2/templates/content/helpdesk/view.content.tmpl =================================================================== --- trunk/1.2/templates/content/helpdesk/view.content.tmpl 2009-02-06 18:25:22 UTC (rev 933) +++ trunk/1.2/templates/content/helpdesk/view.content.tmpl 2009-02-06 19:20:09 UTC (rev 934) @@ -184,7 +184,7 @@ <th style="border-bottom:solid #000 1px;" align="right">Issue Text:</th> - <td style="border-bottom:solid #000 1px;" width="650" colspan="2" nowrap><code>{subject}</code></td> + <td style="border-bottom:solid #000 1px;" width="750" colspan="2" nowrap><font size="+1">{subject}</font></td> </tr> <tr> <th>Tasks:</th> @@ -197,10 +197,10 @@ <th style="border-bottom:solid #000 1px;" align="right">Comments:<BR><font size="-3"><i>(Includes previous/current<BR>solution(s), if available)</i></font></th> <td style="border-bottom:solid #000 1px;" colspan="2"> <!-- BEGIN issueNotes --> - <div style="border-top:dashed #000 1px;"> + <div class="helpdesk_comment_header"> %%solutionIndicator%% <u> [#%%note_id%%] <b>%%subject%%</b> (%%fname%%@%%created%%)</u> - </div><br> - <div style="width:100%; overflow:auto"><code style="font-size:10px;">%%body%%</code></div> + </div> + <div class="helpdesk_comment_body">%%body%%</div> <!-- END issueNotes --> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |