diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-17 18:48:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-10-17 18:48:46 +0300 |
commit | ff96d28f969a6716cfc9ccefe94e70132bc4d6db (patch) | |
tree | 1fce38985479e9152fdbaf2348e03036ba487810 /www | |
parent | 48d4ae50d57d58c35b25d2917faad6700783ac0d (diff) |
Display package description as a pre-formatted text
Diffstat (limited to 'www')
-rw-r--r-- | www/package-details-body.css | 12 | ||||
-rw-r--r-- | www/package-version-details-body.css | 14 |
2 files changed, 25 insertions, 1 deletions
diff --git a/www/package-details-body.css b/www/package-details-body.css index a518a05..af443c0 100644 --- a/www/package-details-body.css +++ b/www/package-details-body.css @@ -59,6 +59,18 @@ h1, h2 } /* + * Description. + * + * This is a <pre> block that fits lines up to 80 characters long and + * wraps longer ones. + */ +#description +{ + font-size: 0.85em; + white-space: pre-wrap; +} + +/* * Package details table. */ #package diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css index 4f7cc2e..c2821f6 100644 --- a/www/package-version-details-body.css +++ b/www/package-version-details-body.css @@ -73,6 +73,18 @@ h1, h2, h3 } /* + * Description. + * + * This is a <pre> block that fits lines up to 80 characters long and + * wraps longer ones. + */ +#description +{ + font-size: 0.85em; + white-space: pre-wrap; +} + +/* * Version details table. */ #version @@ -205,7 +217,7 @@ h1, h2, h3 */ #changes { - font-size: 0.78em; + font-size: 0.85em; white-space: pre-wrap; margin: .5em 0 .5em 0; } |