Skip to content

Restrict PICO CSS to certain part of HTML  #378

@mrniamster

Description

@mrniamster

Please search for duplicate or closed issues first.

Describe the issue

Currently picocss is interfering with the default devtools tools provided by frameworks like react-query.

Current Behavior

A concise description of the bug.
i previusly thought $semantic-root-element: "#root"; can do it, but it didn't
I Would like to have a variable say $parent-selector:"#___nuxt" , so i can tell picocss to apply css to that particular selector only.

Expected Behavior

A concise description of what you expected.
The devtools are getting affected
image

Reproduction URL

We recommend including a link to a minimal reproduction of the bug using CodePen or a similar tool.
Please do not link to your actual project. Instead, we need a reduced test case in a new project without any unnecessary code.

Environment

Example: OS, versions, browser details.

  • Operating System: Windows_NT

  • Node Version: v18.11.0

  • Nuxt Version: 3.5.3

  • Nitro Version: 2.4.1

  • Package Manager: npm@9.6.5

  • Builder: vite

  • User Config: routeRules, nitro, css, vite, postcss, app, modules, content, googleSignIn, runtimeConfig

  • Runtime Modules: nuxt-vue3-google-signin@0.0.8, @pinia/nuxt@0.4.11, @nuxt/devtools@0.6.1, @nuxt/content@2.7.0,
    @pinia/nuxt@0.4.11

  • Build Modules: -

    "@picocss/pico": "^1.5.10",
    "@pinia/nuxt": "^0.4.11",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions