From 4fcb406ccd94aefb0b98055be96d895e60c27748 Mon Sep 17 00:00:00 2001 From: Alina Derkach Date: Mon, 16 Dec 2024 09:21:07 +0100 Subject: [PATCH] Fix the copy button getting merged in text in the code block (#701) Update design.css --- docs/css/design.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/css/design.css b/docs/css/design.css index 14f9728b6..e452993e0 100644 --- a/docs/css/design.css +++ b/docs/css/design.css @@ -269,6 +269,7 @@ vertical-align: baseline; padding: 0 0.2em 0.1em; border-radius: 0.15em; + white-space: pre-wrap; /* Ensure long lines wrap */ } .md-typeset .highlight code span, .md-typeset code, @@ -729,4 +730,4 @@ i[warning] [class*="moji"] { padding: 1em; } } -/**/ \ No newline at end of file +/**/