From c4fb418b704541272bc156ca39285e5ff00f4ef9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 23 Nov 2018 15:10:16 +0100 Subject: [PATCH] luci-mod-system: sshkeys CSS tweak Overflow pubkey preview to the left, not to the right. Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_system/sshkeys.htm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm index 77efa11a0..e0917995e 100644 --- a/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm +++ b/modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm @@ -4,6 +4,19 @@ .cbi-dynlist { max-width: 100%; } + + .cbi-dynlist .item > small { + display: block; + direction: rtl; + overflow: hidden; + text-align: left; + } + + .cbi-dynlist .item > small > code { + direction: ltr; + white-space: nowrap; + unicode-bidi: bidi-override; + }
-- 2.25.1