summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-23 15:10:16 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-23 15:11:28 +0100
commitc4fb418b704541272bc156ca39285e5ff00f4ef9 (patch)
tree7fe5f474530426a62b96f1a4ba076e63c0ac58b0
parentc270d48cdd111904be5dbe7f5d77bf59928732d4 (diff)
luci-mod-system: sshkeys CSS tweak
Overflow pubkey preview to the left, not to the right. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm13
1 files changed, 13 insertions, 0 deletions
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 77efa11a0f..e0917995e4 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;
+ }
</style>
<div class="cbi-map">