Mercurial > kallithea
changeset 1310:4d37c3f2a410 beta
fixed white-space formatting for description in summary page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 04 May 2011 16:57:27 +0200 |
parents | 61a6a7bf2cbd |
children | 6705eeebc41b |
files | rhodecode/public/css/style.css rhodecode/templates/summary/summary.html |
diffstat | 2 files changed, 20 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/style.css Tue May 03 21:52:38 2011 +0200 +++ b/rhodecode/public/css/style.css Wed May 04 16:57:27 2011 +0200 @@ -1266,6 +1266,23 @@ padding:0 3px 2px; } +#summary{ + +} + +#summary .desc{ +white-space: pre; +width: 100%; +} + +#summary .repo_name{ +font-size: 1.6em; +font-weight: bold; +vertical-align: baseline; +clear:right +} + + #footer { clear:both; overflow:hidden;
--- a/rhodecode/templates/summary/summary.html Tue May 03 21:52:38 2011 +0200 +++ b/rhodecode/templates/summary/summary.html Wed May 04 16:57:27 2011 +0200 @@ -24,7 +24,7 @@ </div> <!-- end box / title --> <div class="form"> - <div class="fields"> + <div id="summary" class="fields"> <div class="field"> <div class="label"> @@ -59,7 +59,7 @@ %endif ##REPO NAME - <span style="font-size: 1.6em;font-weight: bold;vertical-align: baseline;clear:right">${h.repo_link(c.dbrepo.groups_and_repo)}</span> + <span class="repo_name">${h.repo_link(c.dbrepo.groups_and_repo)}</span> ##FORK %if c.dbrepo.fork: @@ -91,9 +91,7 @@ <div class="label"> <label>${_('Description')}:</label> </div> - <div class="input-short"> - ${c.dbrepo.description} - </div> + <div class="input-short desc">${c.dbrepo.description}</div> </div>