Skip to content

Commit

Permalink
style: add layout background color
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong502431556 committed Apr 14, 2022
1 parent b060319 commit 9b614fe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/layout/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ export default defineComponent({
</script>

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

0 comments on commit 9b614fe

Please sign in to comment.