From b29ce1683cbeae50795581dc834b72381a49d310 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 11 Apr 2025 10:55:02 +0800 Subject: Breakable SSH keys --- forged/static/style.css | 7 +++++++ forged/templates/index.tmpl | 4 ++-- 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 @@ SSH public key - {{- .global.server_public_key_string -}} + {{- .global.server_public_key_string -}} SSH fingerprint - {{- .global.server_public_key_fingerprint -}} + {{- .global.server_public_key_fingerprint -}} -- cgit v1.2.3