Skip to content

Wrong Tooltip Secondary Color Class #1256

@Fireben

Description

@Fireben

Describe the bug
This line has the tooltip word twice in it and it can't resolve the css class properly

public static string? ToTooltipColorClass(this TooltipColor tooltipColor) =>
        tooltipColor switch
        {
            TooltipColor.Primary => "bb-tooltip-primary",
            TooltipColor.Secondary => "bb-tooltip-tooltip-secondary",
            TooltipColor.Success => "bb-tooltip-success",
            TooltipColor.Danger => "bb-tooltip-danger",
            TooltipColor.Warning => "bb-tooltip-warning",
            TooltipColor.Info => "bb-tooltip-info",
            TooltipColor.Light => "bb-tooltip-light",
            TooltipColor.Dark => "bb-tooltip-dark",
            _ => null
        };

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions