Merge pull request #104 from chenlei65368/patch-1

Update Breadcrumb.vue  面包屑 css 处理
pull/594/MERGE
芋道源码 2024-11-21 19:29:26 +08:00 committed by GitHub
commit f8b0cd53e5
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;