Skip to content

How can I override the style of a popover? #1707

Closed
@hesparza

Description

@hesparza

I have a popover in my component but it doesn't display correctly when I include the text on it. The text is overflowing the popover, I need the text not to be wrapped.

By doing my search on the internet, this is a common problem which gets solved by overriding the popover property "max-width" to be 100%, I proved that in the browser's debugger and it works. The problem is that I don't seem to be able to set/override this property from my component's css file.

I have tried:
.popover { max-width: 100%; }

and

.popover-content { width: 100%; }

and

.popover-content, .popover-content .body { width: 100%; }

None of them have worked, any thoughts?

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