From 9f67af0739426202cf564e3e5d97e3333619771a Mon Sep 17 00:00:00 2001 From: ARvind Tiwari Date: Fri, 4 Aug 2017 02:54:34 +0530 Subject: [PATCH 1/2] modal icons fixed --- hosting/static/hosting/css/user_keys.css | 3 ++- hosting/templates/hosting/orders.html | 2 +- hosting/templates/hosting/user_keys.html | 11 ++++------- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/hosting/static/hosting/css/user_keys.css b/hosting/static/hosting/css/user_keys.css index 5e693384..77a12155 100644 --- a/hosting/static/hosting/css/user_keys.css +++ b/hosting/static/hosting/css/user_keys.css @@ -140,10 +140,11 @@ .btn-custom-delete a, .btn-custom-download a{ text-decoration: none; } -.modal-body p{ +.modal-body p.ssh-key{ width: 100%; word-wrap: break-word; text-align: left; + margin-top: 10px; } @media screen and (max-width: 768px) { diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index c9c1ca22..9699cbaa 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -59,7 +59,7 @@ action="{% url 'hosting:delete_order' order.id %}"> {% csrf_token %} diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index 321512d5..2125bd9f 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -38,7 +38,6 @@ {% trans "Delete" %} -