luci-mod-system: sshkeys CSS tweak
authorJo-Philipp Wich <jo@mein.io>
Fri, 23 Nov 2018 14:10:16 +0000 (15:10 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 23 Nov 2018 14:11:28 +0000 (15:11 +0100)
Overflow pubkey preview to the left, not to the right.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-system/luasrc/view/admin_system/sshkeys.htm

index 77efa11a0f935e942076496deb837398e411d942..e0917995e43454dde354f293125d9372180d9062 100644 (file)
@@ -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">