aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forged/static/style.css7
-rw-r--r--forged/templates/index.tmpl4
2 files changed, 9 insertions, 2 deletions
diff --git a/forged/static/style.css b/forged/static/style.css
index b677551..50f1c37 100644
--- a/forged/static/style.css
+++ b/forged/static/style.css
@@ -614,3 +614,10 @@ td > ul {
font-weight: bold;
margin-top: 1rem;
}
+
+
+.breakable {
+ word-break: break-word;
+ /* overflow-wrap: break-word;
+ overflow: hidden; */
+}
diff --git a/forged/templates/index.tmpl b/forged/templates/index.tmpl
index ff7c127..bd81f04 100644
--- a/forged/templates/index.tmpl
+++ b/forged/templates/index.tmpl
@@ -46,11 +46,11 @@
<tbody>
<tr>
<th scope="row">SSH public key</th>
- <td><code>{{- .global.server_public_key_string -}}</code></td>
+ <td><code class="breakable">{{- .global.server_public_key_string -}}</code></td>
</tr>
<tr>
<th scope="row">SSH fingerprint</th>
- <td><code>{{- .global.server_public_key_fingerprint -}}</code></td>
+ <td><code class="breakable">{{- .global.server_public_key_fingerprint -}}</code></td>
</tr>
</tbody>
</table>