Fix drop-down alignment on duplicates page

Hack the dropdown HTML to fix the dropdown menu appearing at the bottom
of the "Duplicate recipes" section (which may be below the bottom of the
browser window). This is probably not the correct fix, but it works.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-11-20 11:52:40 +13:00
parent e10d21240c
commit 61e9b04859

View File

@ -22,12 +22,12 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="pull-right"> <div class="pull-right dropdown">
<a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
Branch: <b>{{ url_branch }}</b> Branch: <b>{{ url_branch }}</b>
<b class="caret"></b> <b class="caret"></b>
</a> </button>
<ul class="dropdown-menu"> <ul class="dropdown-menu" style="right: auto;">
{% for branch in all_branches %} {% for branch in all_branches %}
<li><a href="{% url this_url_name branch.name %}"> <li><a href="{% url this_url_name branch.name %}">
{% if branch.name == url_branch %}<b>{% endif %} {% if branch.name == url_branch %}<b>{% endif %}