From aadfadfcf1e9d6d97e57952c02668dfad2fc7305 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 16 Jan 2017 22:22:05 -0600 Subject: [PATCH] fix list style of app description Signed-off-by: Morris Jobke --- settings/css/settings.css | 20 +++++++++++++++++--- settings/templates/apps.php | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/settings/css/settings.css b/settings/css/settings.css index 46394d3f03..6b77710872 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -551,6 +551,23 @@ span.version { flex-basis: 90%; } +#apps-list .app-description ul { + list-style: disc; +} +#apps-list .app-description ol { + list-style: decimal; +} +#apps-list .app-description > ul, +#apps-list .app-description > ol { + margin-left: 19px; +} +#apps-list .app-description ol ol, +#apps-list .app-description ol ul, +#apps-list .app-description ul ol, +#apps-list .app-description ul ul { + padding-left: 15px; +} + @media (min-width: 1601px) { #apps-list .section { width: 22%; @@ -634,9 +651,6 @@ form.section { .app-description { clear: both; } -.app-description pre { - white-space: pre-line; -} #apps-list .groups-enable { margin-top: 8px; diff --git a/settings/templates/apps.php b/settings/templates/apps.php index b609777e03..a4b08f1169 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -61,7 +61,7 @@ script(