Update Breadcrumb.vue 面包屑 css 处理

面包屑 css 处理不起作用
pull/594/MERGE
Lei Chen 2024-11-20 11:02:28 +08:00 committed by GitHub
parent 458242a27b
commit 522e358eaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ export default defineComponent({
$prefix-cls: #{$elNamespace}-breadcrumb; $prefix-cls: #{$elNamespace}-breadcrumb;
.#{$prefix-cls} { .#{$prefix-cls} {
:deep(&__item) { :deep(.#{$prefix-cls}__item) {
display: flex; display: flex;
.#{$prefix-cls}__inner { .#{$prefix-cls}__inner {
display: flex; display: flex;
@ -105,7 +105,7 @@ $prefix-cls: #{$elNamespace}-breadcrumb;
} }
} }
:deep(&__item):not(:last-child) { :deep(.#{$prefix-cls}__item):not(:last-child) {
.#{$prefix-cls}__inner { .#{$prefix-cls}__inner {
color: var(--top-header-text-color); color: var(--top-header-text-color);
@ -115,7 +115,7 @@ $prefix-cls: #{$elNamespace}-breadcrumb;
} }
} }
:deep(&__item):last-child { :deep(.#{$prefix-cls}__item):last-child {
.#{$prefix-cls}__inner { .#{$prefix-cls}__inner {
display: flex; display: flex;
align-items: center; align-items: center;