From f00c0fe81e6fcbe2ca85f08aaaffc4ebdc6402a2 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Tue, 11 Apr 2023 11:54:03 -0400 Subject: [PATCH] Updates explain commit error state --- src/webviews/apps/commitDetails/commitDetails.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/webviews/apps/commitDetails/commitDetails.scss b/src/webviews/apps/commitDetails/commitDetails.scss index a4756ab..4ca297c 100644 --- a/src/webviews/apps/commitDetails/commitDetails.scss +++ b/src/webviews/apps/commitDetails/commitDetails.scss @@ -573,13 +573,15 @@ ul { .ai-content { font-size: 1.3rem; - border: 1px solid var(--vscode-input-border, transparent); + border: 0.1rem solid var(--vscode-input-border, transparent); background: var(--vscode-input-background); margin-top: 1rem; padding: 0.5rem; &.has-error { - border-color: var(--color-alert-errorBorder); + border-left-color: var(--color-alert-errorBorder); + border-left-width: 0.3rem; + padding-left: 0.8rem; } &:empty { @@ -592,6 +594,10 @@ ul { overflow-x: hidden; // max-height: 9rem; white-space: break-spaces; + + .has-error & { + white-space: normal; + } } }