Skip to content

Commit

Permalink
fix: 样式优化
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 7936
  • Loading branch information
yuri0528 committed May 15, 2024
1 parent ecf09e3 commit 3fa16da
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions src/pages/src/views/tenant/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</div>
<!-- 编辑/预览 -->
<bk-sideslider
:ext-cls="['details-wrapper', { 'details-edit-wrapper': !isView }]"
:class="[{ 'details-edit-wrapper': !isView }]"
:width="640"
:is-show="detailsConfig.isShow"
:title="detailsConfig.title"
Expand Down Expand Up @@ -614,6 +614,15 @@ const {
} = useAdminPassword(adminPasswordData.value);
</script>

<style lang="less">
.details-edit-wrapper {
.bk-modal-content {
height: calc(100vh - 52px) !important;
background: #f5f7fa !important;
}
}
</style>

<style lang="less" scoped>
.has-alert {
height: calc(100vh - 92px) !important;
Expand Down Expand Up @@ -671,23 +680,6 @@ const {
}
}
.details-edit-wrapper {
// :deep(.bk-modal-content) {
// height: calc(100vh - 52px);
// background: #f5f7fa;
// &::-webkit-scrollbar {
// width: 4px;
// background-color: transparent;
// }
// &::-webkit-scrollbar-thumb {
// background-color: #dcdee5;
// border-radius: 4px;
// }
// }
}
.error {
position: absolute;
left: 0;
Expand Down

0 comments on commit 3fa16da

Please sign in to comment.