From cbd3d884cb8751e5afd92753d6ca0fd8a0ad3fed Mon Sep 17 00:00:00 2001 From: Alina Derkach Date: Fri, 13 Dec 2024 18:22:08 +0100 Subject: [PATCH] PS-9324 [DOC] Fix the copy button getting merged in text in the code blocks (#432) 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 359e1557562..097f6f4e4b8 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, @@ -730,4 +731,4 @@ i[warning] [class*="moji"] { padding: 1em; } } -/**/ \ No newline at end of file +/**/