From 68609a832da7fcf70f2cb54d1d14689ed4a1bd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Fri, 26 Sep 2025 11:41:30 +0200 Subject: [PATCH] fix: avoid code-annnotation-line-highlight overflow --- .../formats/html/bootstrap/_bootstrap-rules.scss | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/resources/formats/html/bootstrap/_bootstrap-rules.scss b/src/resources/formats/html/bootstrap/_bootstrap-rules.scss index 8aba5b288b..0411632e07 100644 --- a/src/resources/formats/html/bootstrap/_bootstrap-rules.scss +++ b/src/resources/formats/html/bootstrap/_bootstrap-rules.scss @@ -2013,6 +2013,7 @@ pre.code-annotation-code { } } +#code-annotation-line-highlight, #code-annotation-line-highlight-gutter { width: 100%; border-top: solid $code-annotation-higlight-color 1px; @@ -2021,15 +2022,6 @@ pre.code-annotation-code { background-color: $code-annotation-higlight-bg; } -#code-annotation-line-highlight { - margin-left: -4em; - width: calc(100% + 4em); - border-top: solid $code-annotation-higlight-color 1px; - border-bottom: solid $code-annotation-higlight-color 1px; - z-index: 2; - background-color: $code-annotation-higlight-bg; -} - code.sourceCode .code-annotation-anchor.code-annotation-active { background-color: var(--quarto-hl-normal-color, #aaaaaa); border: solid var(--quarto-hl-normal-color, #aaaaaa) 1px;