From 8409837689373da94c521de2acfcfdb560ab46a5 Mon Sep 17 00:00:00 2001 From: Floorb <132411956+Neetpone@users.noreply.github.com> Date: Mon, 27 Feb 2023 06:07:58 -0500 Subject: [PATCH] fix: code block wrapping --- public/theme/bulma/css/paste.css | 5 +++++ theme/bulma/view.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/public/theme/bulma/css/paste.css b/public/theme/bulma/css/paste.css index cc3b714..3dc41a8 100644 --- a/public/theme/bulma/css/paste.css +++ b/public/theme/bulma/css/paste.css @@ -256,3 +256,8 @@ button.button--no-style { .captcha_container i { color: black; } + +code { + overflow-wrap: anywhere; + white-space: pre-wrap; +} \ No newline at end of file diff --git a/theme/bulma/view.php b/theme/bulma/view.php index e40bdf7..5dc6fcc 100644 --- a/theme/bulma/view.php +++ b/theme/bulma/view.php @@ -188,7 +188,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
= pp_html_escape($error) ?>
-