diff --git a/appview/pages/templates/fragments/line-quote-button.html b/appview/pages/templates/fragments/line-quote-button.html
index 3ba33627..725e95a2 100644
--- a/appview/pages/templates/fragments/line-quote-button.html
+++ b/appview/pages/templates/fragments/line-quote-button.html
@@ -3,130 +3,251 @@
id="line-quote-btn"
type="button"
aria-label="Quote line in comment"
- class="hidden fixed z-50 p-0.5 rounded bg-gray-100 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white hover:bg-gray-200 dark:hover:bg-gray-600 cursor-pointer shadow-sm transition-opacity opacity-0"
+ class="hidden fixed z-50 p-0.5 rounded bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 text-gray-500 dark:text-gray-400 hover:text-black dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-600 cursor-pointer shadow-sm transition-opacity opacity-0 flex flex-col items-start"
style="pointer-events: none;"
>
{{ i "message-square-quote" "w-3.5 h-3.5" }}
+
+ {{ i "message-square-quote" "w-3.5 h-3.5" }}
+
{{ end }}
diff --git a/input.css b/input.css
index ab7f91b9..ace8ef4d 100644
--- a/input.css
+++ b/input.css
@@ -373,6 +373,18 @@
@apply bg-amber-400/30 dark:bg-amber-500/20;
}
+.line-quote-hl, .line-range-hl {
+ @apply !bg-yellow-200/30 dark:!bg-yellow-700/30;
+}
+
+:is(.line-quote-hl, .line-range-hl) > .min-w-\[3\.5rem\] {
+ @apply !bg-yellow-200/30 dark:!bg-yellow-700/30;
+}
+
+:is(.line-quote-hl, .line-range-hl) > .min-w-\[3\.5rem\] a {
+ @apply !text-black dark:!text-white;
+}
+
/* LineNumbersTable */
.chroma .lnt {
white-space: pre;