Skip to content

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

:bug: Center loading indicators in backlink content areas https://github.com/siyuan-note/siyuan/issues/19257

Daniela762ad855aff
diff --git a/app/src/assets/scss/protyle/_protyle.scss b/app/src/assets/scss/protyle/_protyle.scss
index 9bc5c4d4d2..87cc1a5b7e 100644
--- a/app/src/assets/scss/protyle/_protyle.scss
+++ b/app/src/assets/scss/protyle/_protyle.scss
@@ -541,9 +541,12 @@
.sy__backlink {
.backlinkList__loading {
align-items: center;
+ box-sizing: border-box;
display: flex;
- height: 40px;
+ height: 100%;
justify-content: center;
+ min-height: 40px;
+ width: 100%;
}
[data-backlink-type-folded] {
@@ -626,6 +629,10 @@
}
.sy__backlink--bottom {
+ .backlinkList__loading {
+ height: 40px;
+ }
+
box-sizing: border-box;
min-height: 32px;
outline: none;