From 29d8bcc6eaae5b5d70d9d4339ca24f68a00eb7a9 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 25 Jan 2024 13:09:36 -0700 Subject: [PATCH] docs: remove selection restriction This used to make things such that the copy button for `console` blocks would only copy the input and not the output, but it doesn't seem to have that effect any more, and now just prevents selecting portions of the output. That's a PITA because eg: the CLI --help pages use `console` to show which options are available. I think something has probably changed somewhere in upstream mkdocs because this used to work as I mentioned above. refs: https://github.com/squidfunk/mkdocs-material/issues/6697 --- docs/style.css | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/style.css b/docs/style.css index c7886067b..879977c9f 100644 --- a/docs/style.css +++ b/docs/style.css @@ -1,11 +1,3 @@ -/* prevent selection of prefix and output for console syntax */ -.language-console .gp, .language-console .go { - user-select: none; - -webkit-user-select: none; /* Chrome/Safari */ - -ms-user-select: none; /* IE10+ */ - color: !important pink; -} - @font-face { font-family: "Symbols Nerd Font Mono"; src: url(fonts/SymbolsNerdFontMono-Regular.ttf) format("truetype");