diff --git a/libs/core/src/lib/split-button/split-button.component.html b/libs/core/src/lib/split-button/split-button.component.html index 73839bf0023..113414ecfba 100644 --- a/libs/core/src/lib/split-button/split-button.component.html +++ b/libs/core/src/lib/split-button/split-button.component.html @@ -1,5 +1,6 @@
:first-child:hover { - .fd-button-split__text { - color: inherit; - } -} diff --git a/libs/core/src/lib/split-button/split-button.component.ts b/libs/core/src/lib/split-button/split-button.component.ts index e527b888fce..5bc8eaa339e 100644 --- a/libs/core/src/lib/split-button/split-button.component.ts +++ b/libs/core/src/lib/split-button/split-button.component.ts @@ -133,6 +133,11 @@ export class SplitButtonComponent implements AfterContentInit, OnChanges, OnDest /** @hidden */ mainButtonWidth: string; + /** @hidden */ + get typeClass(): string { + return this.fdType ? `fd-button-split--${this.fdType}` : ''; + } + /** @hidden */ private _menuItemSubscriptions = new Subscription(); diff --git a/libs/platform/src/lib/split-menu-button/split-menu-button.component.html b/libs/platform/src/lib/split-menu-button/split-menu-button.component.html index f0628b333af..50380ad6d4a 100644 --- a/libs/platform/src/lib/split-menu-button/split-menu-button.component.html +++ b/libs/platform/src/lib/split-menu-button/split-menu-button.component.html @@ -1,5 +1,6 @@