From b59a14ba11b4db932aef36d987d2a4e35817e511 Mon Sep 17 00:00:00 2001 From: jinia91 Date: Sat, 25 Dec 2021 12:38:58 +0900 Subject: [PATCH] =?UTF-8?q?21.12.25=20=EA=B0=80=EB=8F=85=EC=84=B1=EC=9D=84?= =?UTF-8?q?=20=EC=9C=84=ED=95=B4=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=BB=A8?= =?UTF-8?q?=ED=85=90=EC=B8=A0=20=EC=BD=94=EB=93=9C=EB=B8=94=EB=A1=9D=20?= =?UTF-8?q?=EA=B0=80=EB=A1=9C=EC=8A=A4=ED=81=AC=EB=A1=A4=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/css/articleView.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/resources/static/css/articleView.css b/src/main/resources/static/css/articleView.css index 81d8ccf..dcc35ae 100644 --- a/src/main/resources/static/css/articleView.css +++ b/src/main/resources/static/css/articleView.css @@ -136,13 +136,18 @@ padding: 2px 3px; letter-spacing: -0.3px; border-radius: 2px; + } .toastui-editor-contents pre code { padding: 0; color: inherit; - white-space: pre-wrap; + /*white-space: pre-wrap;*/ background-color: transparent; + /*모바일 코드 블록 가로 스크롤 생성*/ + white-space: pre; + word-wrap: normal; + overflow-x: auto; } .toastui-editor-contents img { @@ -382,6 +387,7 @@ border-radius: 2px; background-size: 30px 30px; cursor: pointer; + } .toastui-editor-ww-code-block-language {