Skip to content

Commit

Permalink
[#1265] replace inline style for project donate button
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemart committed Mar 9, 2015
1 parent 5c878b0 commit 183a7a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions akvo/rsr/static/rsr/v3/css/src/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions akvo/rsr/static/rsr/v3/css/src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,9 @@ div.projectTopRow {
margin-left: 15px;
}
}
.donateButton {
margin-right: 15px;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion akvo/templates/project_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</li>
<li class="financeBlock"><span class="detailedInfo">{% trans "financial info" %}</span>
{% if project.accepts_donations %}
<a href="{% url 'project-donate' project.id %}" class="btn btn-primary pull-right" style="margin-right: 15px;">{% trans "Donate" %}</a>
<a href="{% url 'project-donate' project.id %}" class="btn btn-primary pull-right donateButton">{% trans "Donate" %}</a>
{% endif %}
<br><a href="{% url 'project-finance' project.id %}" class="text-center"><i class="fa fa-line-chart"></i> See all financial info</a>
</li>
Expand Down

0 comments on commit 183a7a0

Please sign in to comment.