ssh modal key word-break fixed so that it wraps

This commit is contained in:
ARvind Tiwari 2017-08-11 01:49:41 +05:30
parent 34a95f5a05
commit 3ccbf3a3ac
3 changed files with 8 additions and 5 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-04 18:25+0000\n" "POT-Creation-Date: 2017-08-11 01:16+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -399,8 +399,8 @@ msgstr "Möchtest Du den Schlüssel löschen?"
msgid "Show" msgid "Show"
msgstr "Anzeigen" msgstr "Anzeigen"
msgid "Public ssh key" msgid "Public SSH Key"
msgstr "" msgstr "Public SSH Key"
msgid "Download" msgid "Download"
msgstr "" msgstr ""

View file

@ -294,6 +294,9 @@
.form-ssh h3{ .form-ssh h3{
margin-bottom: 40px; margin-bottom: 40px;
} }
.key_contain {
word-break: break-all;
}
.custom_form_button{ .custom_form_button{
border-radius: 0; border-radius: 0;
} }

View file

@ -77,8 +77,8 @@
</button> </button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public ssh key" %}</h4> <h4 class="modal-title" id="ModalLabel_Public_Key">{% trans "Public SSH key" %}</h4>
<p style="margin-top: 10px;">{{ user_key.public_key }}</p> <p class="key_contain" style="margin-top: 10px;">{{ user_key.public_key }}</p>
<div class="modal-footer"> <div class="modal-footer">
</div> </div>
</div> </div>