From c0f417713bf9735f6757a832508944b74552413d Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 24 Jun 2023 22:04:08 -0600 Subject: [PATCH] ansi codeblock stuff --- xmc.user.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/xmc.user.css b/xmc.user.css index c15c529..9a4096a 100644 --- a/xmc.user.css +++ b/xmc.user.css @@ -2022,6 +2022,10 @@ code.inline { [class^="markup-"] ol, [class^="markup-"] ul { margin: 4px 0 0 24px !important; +} + +.hljs.ansi { + line-height: 12px !important; }`, 'The Funny': `@font-face { font-family: "Pointfree"; @@ -6872,6 +6876,17 @@ div[class^="sidebar-"]:not(:has(> [class^="side-"])):not(:hover) font-family: var(--font-code) !important; } + .hljs.ansi { + line-height: normal !important; + } + .hljs.ansi .bcb-lines { + grid-template-columns: auto; + } + .hljs.ansi .bcb-number { + display: none; + min-height: unset; + } + /* unbreak resizing webms :^) */ /*[class^="mediaAttachmentsContainer-"] [class^="imageWrapper-"] { min-width: 10px;