I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit dc9256f2 authored by zzz's avatar zzz
Browse files

Console: Prevent bad line-wrap of very long menu items

parent 272f63db
No related branches found
No related tags found
No related merge requests found
......@@ -665,6 +665,10 @@ public class SummaryBarRenderer {
* @since 0.9.18
*/
private static String nbsp(String s) {
return s.replace(" ", " ");
// if it's too long, this makes it worse
if (s.length() <= 30)
return s.replace(" ", "&nbsp;");
else
return s;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment