Center the add ssh key nicely

This commit is contained in:
PCoder 2019-05-13 07:13:49 +02:00
parent 641c556bb6
commit 9fd396363f
2 changed files with 6 additions and 1 deletions

View file

@ -199,6 +199,11 @@
/* text-align: center; */ /* text-align: center; */
} }
.vm-add-ssh-key {
margin: 25px 0 30px;
/* text-align: center; */
}
@media(min-width: 768px) { @media(min-width: 768px) {
.vm-detail-contain { .vm-detail-contain {
display: flex; display: flex;

View file

@ -82,7 +82,7 @@
</div> </div>
{% if keys|length > 0 %} {% if keys|length > 0 %}
{% if not virtual_machine.status == 'canceled' %} {% if not virtual_machine.status == 'canceled' %}
<div class="text-center"> <div class="text-center vm-add-ssh-key">
<button data-toggle="modal" data-target="#modal-add-ssh-key" class="btn btn-vm-invoice">{% trans "Add SSH Key" %}</button> <button data-toggle="modal" data-target="#modal-add-ssh-key" class="btn btn-vm-invoice">{% trans "Add SSH Key" %}</button>
<div class="alert alert-danger hide"> <div class="alert alert-danger hide">
{% trans "Sorry, there was an unexpected error. Kindly retry." %} {% trans "Sorry, there was an unexpected error. Kindly retry." %}