diff --git a/src/components/breadcrumb-item/breadcrumb-item.css b/src/components/breadcrumb-item/breadcrumb-item.css index 58d9cc89e..653d19346 100644 --- a/src/components/breadcrumb-item/breadcrumb-item.css +++ b/src/components/breadcrumb-item/breadcrumb-item.css @@ -1,14 +1,6 @@ :host { color: var(--wa-color-text-link); display: inline-flex; -} - -:host(:last-of-type) { - color: var(--wa-color-text-quiet); -} - -.breadcrumb-item { - display: inline-flex; align-items: center; font: inherit; font-weight: var(--wa-font-weight-action); @@ -16,6 +8,10 @@ white-space: nowrap; } +:host(:last-of-type) { + color: var(--wa-color-text-quiet); +} + .label { display: inline-block; font: inherit; diff --git a/src/components/breadcrumb-item/breadcrumb-item.ts b/src/components/breadcrumb-item/breadcrumb-item.ts index 82fe5061a..5b6f05ead 100644 --- a/src/components/breadcrumb-item/breadcrumb-item.ts +++ b/src/components/breadcrumb-item/breadcrumb-item.ts @@ -17,7 +17,6 @@ import styles from './breadcrumb-item.css'; * @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If * you want to change it for all items in the group, set the separator on `` instead. * - * @csspart base - The component's base wrapper. * @csspart label - The breadcrumb item's label. * @csspart prefix - The container that wraps the prefix. * @csspart suffix - The container that wraps the suffix. @@ -72,47 +71,45 @@ export default class WaBreadcrumbItem extends WebAwesomeElement { render() { return html` - + `; } }