fix: box-shadow补充

This commit is contained in:
xuziqiang
2024-07-18 14:54:30 +08:00
parent 7745f55803
commit 13d6db895f
6 changed files with 29 additions and 3 deletions

View File

@@ -48,11 +48,18 @@
height: 100%;
}
}
// 树组件
:deep(.ant-tree-node-content-wrapper) {
overflow: hidden;
text-overflow: ellipsis;
text-wrap: nowrap;
}
:deep(.ant-tree-node-selected) {
color: @primary-color !important;
}
// ns-view-list-table 搜索区域
:deep(.ns-table-search) {
.ns-flexv2-form {
.ns-operate {

View File

@@ -237,4 +237,11 @@
.common-style;
}
}
.tree,
:deep(.ns-table-search),
// :deep(.ns-list-table),
:deep(.ns-table-main) {
box-shadow: @ns-content-box-shadow;
}
</style>

View File

@@ -13,4 +13,10 @@
name: 'LedgerIndex', // 与页面路由name一致缓存才可生效
});
</script>
<style lang="less" scoped></style>
<style lang="less" scoped>
:deep(.ns-table-search),
:deep(.ns-part-tree),
:deep(.ns-table-main) {
box-shadow: @ns-content-box-shadow;
}
</style>

View File

@@ -816,7 +816,7 @@
padding: @ns-gap;
background-color: @white;
border-radius: @ns-border-radius;
// box-shadow: @ns-content-box-shadow;
box-shadow: @ns-content-box-shadow;
}
.tree {

View File

@@ -652,4 +652,10 @@
}
}
}
.top,
:deep(.ns-table-search),
:deep(.ns-table-main) {
box-shadow: @ns-content-box-shadow;
}
</style>

View File

@@ -337,7 +337,7 @@
height: 100%;
background-color: @white;
border-radius: @ns-border-radius;
overflow-y: auto;
// overflow-y: auto;
// overflow-x: hidden;
// margin: 0 16px 16px 16px;
}