style: add layout background color

This commit is contained in:
陈凯龙 2022-04-14 09:33:27 +08:00
parent b0603199a5
commit 9b614fe892
1 changed files with 7 additions and 2 deletions

View File

@ -67,7 +67,12 @@ export default defineComponent({
</script>
<style lang="less" scoped>
:deep(.@{elNamespace}-scrollbar__view) {
@prefix-cls: ~'@{namespace}-layout';
.@{prefix-cls} {
background-color: var(--app-contnet-bg-color);
:deep(.@{elNamespace}-scrollbar__view) {
height: 100% !important;
}
}
</style>