mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +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>
|
||||
|
||||
{% 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 %}">
|
||||
{% csrf_token %}
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
{% trans "Deactivate" %}</button>
|
||||
</form>
|
||||
{% else %}
|
||||
<form class="form pull-right" method="post"
|
||||
<form class="form form-action pull-right" method="post"
|
||||
action="{% url 'networks:activate' connection.uuid %}">
|
||||
{% csrf_token %}
|
||||
|
||||
|
||||
@ -29,11 +29,11 @@
|
||||
margin: -2px 0;
|
||||
}
|
||||
|
||||
.form.pull-right {
|
||||
.form-action.pull-right {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.form button {
|
||||
.form-action button {
|
||||
width: 7em;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user