Skip to content

Dismissable popover color conflicts with a:not[href]) #30531

@ffoodd

Description

@ffoodd

Next to #29140, we now have a conflicting style in dismissible popovers since it has no [href] and its styles rely on a single class specificity:

https://twbs-bootstrap.netlify.com/docs/4.3/components/popovers/#dismiss-on-next-click

I'm not quite sure about the solution for this:

  • re-introduce :not([tabindex]), which would reintroduce what @ysds wanted to remove;
  • use !important on .btn-* variants (ugh)?
  • force color by using .text-white in that case?
  • anything else? Maybe using colored links or something?

And moreover, is there any other case of links without target styled as buttons?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions