Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

Popup breaks with some css resets #568

Open

Description

@RJWadley

The visbug popup seems to depend on some styles that can get reverted with some newer css resets, causing it to appear beneath the page content, full width, and in the document flow.

Steps to reproduce:

  1. Create a react app that uses https://github.com/elad2412/the-new-css-reset
  2. Open visbug

Activity

  1. argyleink commented on Sep 22, 2022

    @argyleink
    Contributor

    confirmed here https://stackblitz.com/edit/react-ts-bmgkzm?file=style.css,new-reset.css

    curious that selector has higher specificity than a constructed stylesheet in a shadow :host. will investigate. thanks for reporting!

  2. argyleink commented on Sep 22, 2022

    @argyleink
    Contributor

    after some research, it appears that my :host styles need an !important in order to win over a style like this.

    ToDo:

    • all light dom shadow styles should use !important
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions