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: bridge Dify design tokens for streamdown table fullscreen (#34224)

Linchengyi323c51e095a8
diff --git a/web/app/styles/markdown.css b/web/app/styles/markdown.css
index 368c3718af3..48aaf965ab3 100644
--- a/web/app/styles/markdown.css
+++ b/web/app/styles/markdown.css
@@ -582,6 +582,44 @@
background-color: var(--color-components-menu-item-bg-hover);
}
+[data-streamdown="table-fullscreen"] {
+ background-color: var(--color-components-panel-bg);
+ color: var(--color-text-primary);
+}
+
+[data-streamdown="table-fullscreen"] button {
+ color: var(--color-text-tertiary);
+}
+
+[data-streamdown="table-fullscreen"] button:hover {
+ color: var(--color-text-primary);
+ background-color: var(--color-background-section-burn);
+}
+
+[data-streamdown="table-fullscreen"] table[data-streamdown="table"] {
+ border-color: var(--color-divider-regular);
+}
+
+[data-streamdown="table-fullscreen"] [data-streamdown="table-header"] {
+ background-color: var(--color-background-section-burn);
+}
+
+[data-streamdown="table-fullscreen"] [data-streamdown="table-header"] th {
+ color: var(--color-text-tertiary);
+}
+
+[data-streamdown="table-fullscreen"] [data-streamdown="table-body"] {
+ border-color: var(--color-divider-subtle);
+}
+
+[data-streamdown="table-fullscreen"] [data-streamdown="table-body"] > tr {
+ border-color: var(--color-divider-subtle);
+}
+
+[data-streamdown="table-fullscreen"] [data-streamdown="table-body"] td {
+ color: var(--color-text-secondary);
+}
+
.markdown-body table img {
background-color: transparent;
}