From 5f433f33ed8d4a8ede25c36d2bb0543e8b101920 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Fri, 23 Jun 2023 12:02:55 -0700 Subject: [PATCH] Reduce typename width to 6.25rem This makes "existential type" look slightly cramped (though still readable), but it makes all other typenames look better. Existential types are currently very rare, and we can always tweak this later if necessary. --- src/librustdoc/html/static/css/rustdoc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index b4ee3482de3..b6d90091bba 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -894,7 +894,7 @@ so that we can apply CSS-filters to change the arrow color in themes */ display: inline-block; color: var(--search-results-grey-color); font-size: 0.875rem; - width: 7rem; + width: 6.25rem; } .popover {