Skip to content

identifying child nodes /elements for css #1854

Open
@valtido

Description

@valtido

Describe the bug

It is very difficult to target some css as we can't identify individual controls.

could we therefore by default change the line here

<div className={className} key={`${path}-${index}`}>

where the path or combination of path and index can be used to concat a class name for className="vertical-layout-item" then becomes something like className="vertical-layout-item {{path}}" where path could be username for instance.

Expected behavior

see above step.

then change

<div className={className} key={${path}-${index}}>
to
<div className={${className} ${path}} key={${path}-${index}}>

Steps to reproduce the issue

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

IMG_ED26A4C278D7-1

In which browser are you experiencing the issue?

n/a

Framework

React

RendererSet

Vanilla

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions