fixed download-button-group

This commit is contained in:
SkeletonEye
2016-01-02 22:19:56 +01:00
parent 3dd25f3b87
commit 7beea0db84
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -18,6 +18,9 @@
border: 1px solid @navbar-default-border; border: 1px solid @navbar-default-border;
border-radius: @border-radius-base; border-radius: @border-radius-base;
} }
.download-buttons {
display: inline;
}
.download-buttons .rss-icon { .download-buttons .rss-icon {
padding-left: @padding-large-horizontal; padding-left: @padding-large-horizontal;
font-size: @font-size-h3; font-size: @font-size-h3;

View File

@@ -11,8 +11,10 @@
<div class="btn-group download-buttons"> <div class="btn-group download-buttons">
<a type="button" href="{{ path('archive', {repo: repo, branch: branch, format: 'zip'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a ZIP archive">ZIP</a> <a type="button" href="{{ path('archive', {repo: repo, branch: branch, format: 'zip'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a ZIP archive">ZIP</a>
<a type="button" href="{{ path('archive', {repo: repo, branch: branch, format: 'tar'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a TAR archive">TAR</a> <a type="button" href="{{ path('archive', {repo: repo, branch: branch, format: 'tar'}) }}" class="btn btn-default btn-xs" title="Download '{{ branch }}' as a TAR archive">TAR</a>
<a href="{{ path('rss', {repo: repo, branch: branch}) }}"><span class="fa fa-rss rss-icon"></span></a>
</div> </div>
<div class="download-buttons">
<a href="{{ path('rss', {repo: repo, branch: branch}) }}"><span class="fa fa-rss rss-icon"></span></a>
</div>
</div> </div>
{% endblock %} {% endblock %}
{% endembed %} {% endembed %}