Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: Improve image title style (#18177)

Jeffrey Chen868920110a94
diff --git a/app/src/assets/scss/component/_typography.scss b/app/src/assets/scss/component/_typography.scss
index 1d11fa3d51..763a319611 100644
--- a/app/src/assets/scss/component/_typography.scss
+++ b/app/src/assets/scss/component/_typography.scss
@@ -593,11 +593,15 @@
word-break: break-word;
white-space: break-spaces;
line-height: normal;
- padding: 4px 0;
& > span {
flex-grow: 1;
width: 0;
+ padding: 4px 0;
+
+ &:empty {
+ display: none;
+ }
}
}
}