Fixes on buttons/dropdown layout
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
| {% if node_type_name == 'group' %}
|
||||
| {% set node_type_name = 'folder' %}
|
||||
| {% endif %}
|
||||
li.dropdown-item(class="button-{{ node_type['name'] }}")
|
||||
a.item_add_node(
|
||||
li(class="button-{{ node_type['name'] }}")
|
||||
a.dropdown-item(
|
||||
class="item_add_node",
|
||||
href="#",
|
||||
title="{{ node_type['description'] }}",
|
||||
data-node-type-name="{{ node_type['name'] }}",
|
||||
|
@@ -23,7 +23,7 @@ section.node-preview.video
|
||||
|
||||
| {% block node_download %}
|
||||
| {% if node.file_variations %}
|
||||
button.btn.btn-outline-secondary.dropdown-toggle(
|
||||
button.btn.btn-sm.btn-outline-primary.dropdown-toggle.px-3(
|
||||
type="button",
|
||||
data-toggle="dropdown",
|
||||
aria-haspopup="true",
|
||||
|
@@ -93,8 +93,8 @@
|
||||
title="Download {{ node.properties.content_type | undertitle }}",
|
||||
href="{{ node.file.link }}",
|
||||
download="{{ node.file.filename }}")
|
||||
button.btn.btn-outline-success.px-3(type="button")
|
||||
i.pi-download
|
||||
button.btn.btn-sm.btn-outline-primary.px-3(type="button")
|
||||
i.pi-download.pr-2
|
||||
| Download
|
||||
| {% endblock node_download %}
|
||||
|
||||
|
Reference in New Issue
Block a user