From ff96d28f969a6716cfc9ccefe94e70132bc4d6db Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 17 Oct 2018 18:48:46 +0300 Subject: Display package description as a pre-formatted text --- www/package-details-body.css | 12 ++++++++++++ www/package-version-details-body.css | 14 +++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) (limited to 'www') 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
 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 
 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;
 }
-- 
cgit v1.1