From 0614f507ffc280aa9dd737f1c6e4f18f6646cb78 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 25 Feb 2022 18:12:21 +0100 Subject: [PATCH] Webconfig: Make colorscheme samples nicer to read This makes the container fit the content, otherwise we'd be cutting off the "> quack &" part of the first line. Also while we're here increase the line-height a bit to give it more breathing room, and increase the font size juuust a smidge. Reduce margins and increase padding to make it less cramped. --- share/tools/web_config/fishconfig.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/tools/web_config/fishconfig.css b/share/tools/web_config/fishconfig.css index ecf440cd5..edbb3b700 100644 --- a/share/tools/web_config/fishconfig.css +++ b/share/tools/web_config/fishconfig.css @@ -390,11 +390,11 @@ body { } .colorpicker_text_sample_tight { - font-size: 10pt; - line-height: 1.2em; - margin: 0px 6px; - max-width: 220px; - padding: 5px; + font-size: 11pt; + line-height: 1.5em; + margin: 0; + width: fit-content; + padding: 1em; white-space: nowrap; overflow: hidden; text-overflow: clip;