【优化】解决全局有滚动条问题

This commit is contained in:
cherishsince 2024-05-17 23:44:11 +08:00
parent 959731609f
commit b9460d2028

View File

@ -72,7 +72,12 @@ $prefix-cls: #{$namespace}-layout;
.#{$prefix-cls} { .#{$prefix-cls} {
background-color: var(--app-content-bg-color); background-color: var(--app-content-bg-color);
:deep(.#{$elNamespace}-scrollbar__view) { :deep(.#{$elNamespace}-scrollbar__view) {
height: 100% !important; //height: 100% !important;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
} }
} }
</style> </style>