[yocto] [layerindex-web][PATCH 3/3] detail: Fix layer description not wrapping properly
Paul Eggleton
paul.eggleton at linux.intel.com
Fri May 4 04:55:27 PDT 2018
In 3adddf6a25977cb576f8fcefd307d947e43d637b I changed the style to allow
pre-formatted text to work in the layer description, but this broke
wrapping so that text could go behind the "Dependencies" box. Use the
"pre-wrap" style instead so that both pre-formatting and wrapping work
here.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
templates/layerindex/detail.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html
index d1e807be..220d475b 100644
--- a/templates/layerindex/detail.html
+++ b/templates/layerindex/detail.html
@@ -76,7 +76,7 @@
<div class="row-fluid">
<div class="description span7">
- <p style="white-space: pre">{{ layeritem.description }}</p>
+ <p style="white-space: pre-wrap">{{ layeritem.description }}</p>
<p>
{% if layeritem.usage_url %}
<span class="label label-info">
--
2.14.3
More information about the yocto
mailing list