From 006a1d2693e7a5fb5a6b26b13b22ce8b100b2264 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 13 Apr 2020 01:31:10 -0700 Subject: [PATCH] Make the error pane jut out less --- .../typescriptlang-org/src/templates/markdown-twoslash.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/typescriptlang-org/src/templates/markdown-twoslash.scss b/packages/typescriptlang-org/src/templates/markdown-twoslash.scss index 07d33b411a8c..e12abd412532 100644 --- a/packages/typescriptlang-org/src/templates/markdown-twoslash.scss +++ b/packages/typescriptlang-org/src/templates/markdown-twoslash.scss @@ -68,7 +68,7 @@ pre { /* This section keeps both of those in sync */ .error, .error-behind { - margin-left: -20px; + margin-left: -14px; margin-top: 8px; margin-bottom: 4px; padding: 6px; @@ -82,7 +82,6 @@ pre { position: absolute; background-color: #ffeeee; border-left: 2px solid #bf1818; - width: calc(100% - 14px); /* Give the space to the error code */ display: flex;