Commit 7afedc8a authored by Michal Čihař's avatar Michal Čihař

Simplify styling of small action buttons

parent e1a05fe7
{% load url from future %}
{% load i18n %}
{% for check in checks %}
<span class="check" id="check-{{ check.id }}">
<span class="check action-buttons" id="check-{{ check.id }}">
{% if perms.trans.ignore_check %}
<a href="{% url 'js-ignore-check' check_id=check.id %}" class="ignorecheck" title="{% blocktrans with check.get_check_display as check %}Ignore: {{ check }}{% endblocktrans %}"></a>
{% endif %}
......
......@@ -125,7 +125,7 @@
{% trans "Suggested by anonymous user" %}
{% endif %}
{% if perms.trans.accept_suggestion or perms.trans.delete_suggestion %}
<div class="suggestionactions">
<div class="menu-float action-buttons">
{% if perms.trans.accept_suggestion %}
<a href="{{ suggestion.get_translate_url }}?type={{ type }}&amp;pos={{ unit.position }}&amp;accept={{ suggestion.id }}{{ search_url }}" class="sug-accept">{% trans "Accept" %}</a>
{% endif %}
......
......@@ -73,13 +73,7 @@ nav li {
width: 4em;
text-align: center;
}
.suggestionactions {
float: right;
}
.dir-rtl .suggestionactions {
float: left;
}
.suggestionactions a {
.action-buttons a {
width: 20px;
height: 20px;
}
......@@ -98,10 +92,6 @@ nav li {
height: 20px;
vertical-align: bottom;
}
.ignorecheck {
width: 20px;
height: 20px;
}
.toolbar a, .small-button {
height: 20px;
font-size: 10px !important;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment