Reduce and pull to the right context menu and action menus to increas screen area and avoid texts hidding on the right of the screen.
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
|
||||
<div class="row">
|
||||
{% if links or form_navigation_links %}
|
||||
<div class="col-xs-8 col-lg-10">
|
||||
<div class="col-xs-8 col-sm-8 col-md-10 col-lg-10">
|
||||
{% else %}
|
||||
<div class="col-xs-12">
|
||||
{% endif %}
|
||||
@@ -168,19 +168,19 @@
|
||||
</div>
|
||||
|
||||
{% if links or form_navigation_links %}
|
||||
<div class="col-xs-4 col-lg-2">
|
||||
<div class="col-xs-4 col-sm-2 col-md-2 col-lg-2">
|
||||
{% endif %}
|
||||
|
||||
{% if links %}
|
||||
<div class="btn-group">
|
||||
<button aria-expanded="true" type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown">
|
||||
<div class="pull-right btn-group" style="margin-bottom: 10px;">
|
||||
<button aria-expanded="true" type="button" class="btn btn-danger btn-sm dropdown-toggle" data-toggle="dropdown">
|
||||
{% trans 'Actions' %}
|
||||
<span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
{% for links_set in links %}
|
||||
{% for entry in links_set %}
|
||||
<li><a href="{{ entry.url }}">{{ entry.text }}</a></li>
|
||||
<li><a class="btn-sm" href="{{ entry.url }}">{{ entry.text }}</a></li>
|
||||
{% endfor %}
|
||||
|
||||
{% if not forloop.last and links_set %}
|
||||
@@ -189,16 +189,16 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<br>
|
||||
<div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
|
||||
{% endif %}
|
||||
|
||||
{% if form_navigation_links %}
|
||||
<div class="list-group">
|
||||
<div class="pull-right list-group">
|
||||
{% if form_navigation_links %}
|
||||
{% with form_navigation_links as object_navigation_links %}
|
||||
{% with 'true' as hide_active_anchor %}
|
||||
{% with 'active' as link_class_active %}
|
||||
{% with 'list-group-item ' as link_classes %}
|
||||
{% with 'list-group-item btn-sm' as link_classes %}
|
||||
{% include 'navigation/generic_navigation.html' %}
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
||||
Reference in New Issue
Block a user