From c7e15f32fc84475f862f3650d68a63235635579a Mon Sep 17 00:00:00 2001 From: Kiricon Date: Thu, 13 Apr 2017 08:17:32 -0600 Subject: [PATCH 1/2] Nested code lines now no longer display the hover border left. --- extensions/markdown/media/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extensions/markdown/media/markdown.css b/extensions/markdown/media/markdown.css index f6305eb642517..a8e952f9f271d 100644 --- a/extensions/markdown/media/markdown.css +++ b/extensions/markdown/media/markdown.css @@ -72,6 +72,10 @@ body.showEditorSelection li.code-line:hover:before { border-left: 3px solid rgba(255, 255, 255, 0.60); } +.vscode-dark.showEditorSelection .code-line .code-line:hover:before { + border-left: none; +} + .vscode-high-contrast.showEditorSelection .code-active-line:before { border-left: 3px solid rgba(255, 160, 0, 0.7); } From 14151dc4234a2afc414d72e9790cac1b814d17c0 Mon Sep 17 00:00:00 2001 From: Kiricon Date: Thu, 13 Apr 2017 08:24:00 -0600 Subject: [PATCH 2/2] Added fix for both light and hc themes. --- extensions/markdown/media/markdown.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/extensions/markdown/media/markdown.css b/extensions/markdown/media/markdown.css index a8e952f9f271d..01cc4ae334073 100644 --- a/extensions/markdown/media/markdown.css +++ b/extensions/markdown/media/markdown.css @@ -64,6 +64,10 @@ body.showEditorSelection li.code-line:hover:before { border-left: 3px solid rgba(0, 0, 0, 0.40); } +.vscode-light.showEditorSelection .code-line .code-line:hover:before { + border-left: none; +} + .vscode-dark.showEditorSelection .code-active-line:before { border-left: 3px solid rgba(255, 255, 255, 0.4); } @@ -84,6 +88,10 @@ body.showEditorSelection li.code-line:hover:before { border-left: 3px solid rgba(255, 160, 0, 1); } +.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before { + border-left: none; +} + img { max-width: 100%; max-height: 100%;