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

Simplify styling of small action buttons

parent e1a05fe7
{% load url from future %} {% load url from future %}
{% load i18n %} {% load i18n %}
{% for check in checks %} {% 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 %} {% 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> <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 %} {% endif %}
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
{% trans "Suggested by anonymous user" %} {% trans "Suggested by anonymous user" %}
{% endif %} {% endif %}
{% if perms.trans.accept_suggestion or perms.trans.delete_suggestion %} {% if perms.trans.accept_suggestion or perms.trans.delete_suggestion %}
<div class="suggestionactions"> <div class="menu-float action-buttons">
{% if perms.trans.accept_suggestion %} {% 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> <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 %} {% endif %}
......
...@@ -73,13 +73,7 @@ nav li { ...@@ -73,13 +73,7 @@ nav li {
width: 4em; width: 4em;
text-align: center; text-align: center;
} }
.suggestionactions { .action-buttons a {
float: right;
}
.dir-rtl .suggestionactions {
float: left;
}
.suggestionactions a {
width: 20px; width: 20px;
height: 20px; height: 20px;
} }
...@@ -98,10 +92,6 @@ nav li { ...@@ -98,10 +92,6 @@ nav li {
height: 20px; height: 20px;
vertical-align: bottom; vertical-align: bottom;
} }
.ignorecheck {
width: 20px;
height: 20px;
}
.toolbar a, .small-button { .toolbar a, .small-button {
height: 20px; height: 20px;
font-size: 10px !important; 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