diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 12:19:26 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 12:19:26 -0700 |
commit | 4302406c96426cb0a037cff5d19bdf46df106331 (patch) | |
tree | 90de258ab45c2c4cc6c1009183c76f07c6c22352 /modules | |
parent | 5835715e49f98943c561d6cee67840488c428175 (diff) |
Fix formatting in l10n client source box so that it wraps. Otherwise
long strings show up only on one line.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/css/l10n_client.css | 2 | ||||
-rw-r--r-- | modules/gallery/views/l10n_client.html.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/gallery/css/l10n_client.css b/modules/gallery/css/l10n_client.css index 6616f511..8e668072 100644 --- a/modules/gallery/css/l10n_client.css +++ b/modules/gallery/css/l10n_client.css @@ -157,6 +157,8 @@ how it wants to round. */ #l10n-client-string-editor .source .source-text { line-height:1.5em; background:#eee; + font-family: monospace; + text-align: left; height:16em; margin:1em; padding:1em; overflow:auto;} diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php index faa6e939..2e53f48f 100644 --- a/modules/gallery/views/l10n_client.html.php +++ b/modules/gallery/views/l10n_client.html.php @@ -16,7 +16,7 @@ [other] - <?= $string["source"]["other"] ?> <? else: ?> <?= $string["source"] ?> - <? endif; ?> + <? endif; ?> </li> <? endforeach; ?> </ul> @@ -25,7 +25,7 @@ </div> <div id="l10n-client-string-editor"> <div class="source"> - <pre class="source-text"></pre> + <p class="source-text"></p> </div> <div class="translation"> <form method="post" action="<?= url::site("l10n_client/save") ?>" id="gL10nClientSaveForm"> |