Add <span class='word-wrap'>

On the instance page,
if the instance flavor name is too long,
it will exceed the scope of the instance flavor details modal box.

Change-Id: I672e2ca9c3fa099acaa9b5a1a70628a28fd3f135
Closes-Bug: #1816333
This commit is contained in:
pengyuesheng 2019-02-18 10:31:01 +08:00
parent d63a65683a
commit b45de686a2

View File

@ -6,7 +6,7 @@
<tr><th>{% trans 'RAM' %}</th><td>{{ size_ram }}</td></tr>
<tr><th>{% trans 'Size' %}</th><td>{{ size_disk }}</td></tr>
</table>
" data-original-title="{% blocktrans %}Flavor Details: {{ name }}">{{ name }}{% endblocktrans %}</a>
" data-original-title="{% blocktrans %}<span class='word-wrap'>Flavor Details: {{ name }}</span>">{{ name }}{% endblocktrans %}</a>
<script type="text/javascript" charset="utf-8">
$(function () {
var $flavor = $("#flavor_details_{{ id }}");