Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
gene9831 committed Dec 27, 2024
1 parent fcfbec9 commit 7d64ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/canvas/layout/src/CanvasLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const siteCanvasStyle = computed(() => {
justify-content: center;
position: relative;
// TODO 是否能改成不用 position: absolute; 避免动态设置height
.site-canvas {
background: var(--ti-lowcode-breadcrumb-hover-bg);
position: absolute;
overflow: hidden;
// TODO 这里的多的32px是route bar的高度,硬编码设置margin-top不适合动态显隐route bar。是否能改成不用 position: absolute;
margin-top: calc(18px + 32px);
margin-bottom: 18px;
transform-origin: top;
Expand Down

0 comments on commit 7d64ee4

Please sign in to comment.