Fixes on buttons/dropdown layout

This commit is contained in:
2018-09-07 14:55:27 +02:00
parent 35225a189d
commit 8380270128
4 changed files with 9 additions and 23 deletions

View File

@@ -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'] }}",

View File

@@ -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",

View File

@@ -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 %}