Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix(web): remove unwanted border on sticky elements in dark mode (#31699)

Seokrin Taron Sung74cfe776744c
diff --git a/web/app/styles/monaco-sticky-fix.css b/web/app/styles/monaco-sticky-fix.css
index 66bb5921ceb..ac928cf246e 100644
--- a/web/app/styles/monaco-sticky-fix.css
+++ b/web/app/styles/monaco-sticky-fix.css
@@ -9,8 +9,7 @@ html[data-theme="dark"] .monaco-editor .sticky-line-content:hover {
background-color: var(--color-components-sticky-header-bg-hover) !important;
}
-/* Fallback: any app sticky header using input-bg variables should use the sticky header bg when sticky */
-html[data-theme="dark"] .sticky, html[data-theme="dark"] .is-sticky {
+/* Monaco editor specific sticky scroll styles in dark mode */
+html[data-theme="dark"] .monaco-editor .sticky-line-root {
background-color: var(--color-components-sticky-header-bg) !important;
- border-bottom: 1px solid var(--color-components-sticky-header-border) !important;
}
\ No newline at end of file