Skip to content

Commit

Permalink
fix(refactor/styles): fix property panel styles and common styles review
Browse files Browse the repository at this point in the history
  • Loading branch information
wenmine committed Oct 29, 2024
1 parent da98532 commit 89e4203
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/common/component/MetaChildItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default {
width: 100%;
display: flex;
flex-direction: column;
height: calc(100% - 34px); // 22为头部+底部的高度
height: calc(100% - 34px); // 34为头部+底部的高度
overflow-y: auto;
.meta-config-item {
Expand Down
6 changes: 5 additions & 1 deletion packages/common/component/MetaCodeEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
</div>
<tiny-button v-else class="edit-btn" @click="open">
<slot name="icon"></slot>
<svg-icon name="page-schema" v-if="buttonText === EDIT_CODE_TEXT" class="edit-btn-icon"></svg-icon>
<svg-icon
name="page-schema"
v-if="[buttonText[locale], buttonText].includes(EDIT_CODE_TEXT)"
class="edit-btn-icon"
></svg-icon>

{{ buttonLabel }}
</tiny-button>
Expand Down
3 changes: 3 additions & 0 deletions packages/theme/base/src/component-common.less
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@
border-radius: var(--te-base-border-radius-1);
}
}
.tiny-tabs__nav-wrap-not-separator::after {
background-color: var(--te-common-border-divider);
}
}
}

Expand Down

0 comments on commit 89e4203

Please sign in to comment.