diff --git a/Mac/MainWindow/Detail/styleSheet.css b/Mac/MainWindow/Detail/styleSheet.css index 5af5f19f5..ce5ef262e 100644 --- a/Mac/MainWindow/Detail/styleSheet.css +++ b/Mac/MainWindow/Detail/styleSheet.css @@ -123,11 +123,11 @@ pre { line-height: 20px; border: 1px solid #777; word-wrap: normal; + padding: 10px; } code, pre { font-family: "SF Mono", Menlo, "Courier New", Courier, monospace; font-size: 14px; - padding: 10px; } img, figure, video, iframe, div { max-width: 100%; diff --git a/iOS/Resources/styleSheet.css b/iOS/Resources/styleSheet.css index 3dc1618f8..d564ab813 100644 --- a/iOS/Resources/styleSheet.css +++ b/iOS/Resources/styleSheet.css @@ -123,6 +123,7 @@ pre { overflow-y: hidden; line-height: 20px; border: 1px solid var(--box-color); + padding: 5px; word-wrap: normal; word-break: normal; -webkit-hyphens: none; @@ -130,7 +131,6 @@ pre { code, pre { font-family: "SF Mono", Menlo, "Courier New", Courier, monospace; font-size: 14px; - padding: 5px; } img, figure, video, iframe, div { max-width: 100%;