From 9220cd74b136e3283cc7ced0d6e145e7b8800fe1 Mon Sep 17 00:00:00 2001 From: Max Taldykin Date: Sat, 4 Mar 2023 13:36:49 +0400 Subject: [PATCH] fix implicit arg wrapping --- static/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index efca72a..8135090 100644 --- a/static/style.css +++ b/static/style.css @@ -335,6 +335,12 @@ nav { overflow-wrap: break-word; } +/* Add a linebreak after a declaration name. */ +.decl_name::after { + content: "\A"; + white-space: pre; +} + .nav_link { overflow-wrap: break-word; } @@ -474,7 +480,7 @@ main h2, main h3, main h4, main h5, main h6 { .implicits, .impl_arg { color: black; - white-space: nowrap; + white-space: normal; } .decl_kind, .decl_name, .decl_extends {