Skip to content

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

:zap: Use a single-column layout for database attribute panels https://github.com/siyuan-note/siyuan/issues/20551

Daniel357cea3d1ab8
diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss
index 8270412254..fd88ba0047 100644
--- a/app/src/assets/scss/business/_custom.scss
+++ b/app/src/assets/scss/business/_custom.scss
@@ -387,8 +387,7 @@
& > [data-av-id] {
display: grid;
- gap: 0 24px;
- grid-template-columns: repeat(2, minmax(0, 1fr));
+ grid-template-columns: minmax(0, 1fr);
.custom-attr__avheader,
.fn__hr,
@@ -424,13 +423,6 @@
}
}
-@container (max-width: 900px) {
- .protyle-db-attr__body > [data-av-id],
- .protyle-db-row__body > [data-av-id] {
- grid-template-columns: minmax(0, 1fr);
- }
-}
-
.av__cell-action {
align-items: center;
background-color: var(--b3-theme-background);