mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
networks: Make styling more specific to avoid interference
Tests performed: - Visit networks page, observe that activate/de-activatge buttons have similar width of 7em (as per inspector). Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
parent
4a8425b111
commit
a3218b2d79
@ -32,7 +32,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% if connection.is_active %}
|
{% if connection.is_active %}
|
||||||
<form class="form pull-right" method="post"
|
<form class="form form-action pull-right" method="post"
|
||||||
action="{% url 'networks:deactivate' connection.uuid %}">
|
action="{% url 'networks:deactivate' connection.uuid %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
@ -40,7 +40,7 @@
|
|||||||
{% trans "Deactivate" %}</button>
|
{% trans "Deactivate" %}</button>
|
||||||
</form>
|
</form>
|
||||||
{% else %}
|
{% else %}
|
||||||
<form class="form pull-right" method="post"
|
<form class="form form-action pull-right" method="post"
|
||||||
action="{% url 'networks:activate' connection.uuid %}">
|
action="{% url 'networks:activate' connection.uuid %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
|
|||||||
@ -29,11 +29,11 @@
|
|||||||
margin: -2px 0;
|
margin: -2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form.pull-right {
|
.form-action.pull-right {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form button {
|
.form-action button {
|
||||||
width: 7em;
|
width: 7em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user