Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/desktop-console-page-height.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sfmc-bds/desktop": patch
---

日志控制台按剩余高度排版,整页不再滚动。
4 changes: 3 additions & 1 deletion packages/desktop/src/renderer/styles/pages.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
padding: 20px 28px 32px;
}

/* 占满提示条以下的剩余高度,由页面内部滚动 */
.page-fill {
height: 100%;
flex: 1;
min-height: 0;
overflow: hidden;
padding-bottom: 16px;
}

Expand Down
4 changes: 3 additions & 1 deletion packages/desktop/src/renderer/styles/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
}

.content {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow: auto;
Expand Down Expand Up @@ -60,7 +62,7 @@

/* 内置编辑器占满内容区;切页时隐藏文档并保留编辑状态。 */
.studio-workspace {
height: 100%;
flex: 1;
min-height: 0;
}

Expand Down
Loading