diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-04-06 17:26:52 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:52:51 +1200 |
commit | 837359e6f18aac985c2967344d035d70c05e427a (patch) | |
tree | 41bfb69a81860798e7e9fa056307b8307d466150 /templates/layerindex | |
parent | 97bb82225ad62029edf0e327029ccf36e6907d68 (diff) | |
download | openembedded-core-contrib-837359e6f18aac985c2967344d035d70c05e427a.tar.gz |
detail: Fix layer description not wrapping properly
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@linux.intel.com>
Diffstat (limited to 'templates/layerindex')
-rw-r--r-- | templates/layerindex/detail.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html index d1e807bea6..220d475b06 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"> |