From f7e235a1fb3ca75424ec56ea00302177ea3d500c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 7 Oct 2019 11:05:22 -0500 Subject: [PATCH] Remove padding from code blocks that was causing weird indentation --- Mac/MainWindow/Detail/styleSheet.css | 2 +- iOS/Resources/styleSheet.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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%;