HumanSignal / HumanSignal/label-studio

Allow the use of ">" in CSS selectors for the Style tag

Open
#3,996 1 comment 1 reaction 1 assignee Claimed by @makseq View on GitHub
configuration feature labeling config
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Is your feature request related to a problem? Please describe.**
There are times when I would like to style an HTML element that can only be selected through the use of `>` to identify a descendant in a CSS selector. However, the Style tag does not support this, as it encodes the `>` into `>`.

For example:
```

span > label{
background-color: pink
}

```
becomes
```

span > label{
background-color: pink
}

```
which doesn't do anything.

**Describe the solution you'd like**
I would like `>` to remain a `>` when used inside Style tags.

**Describe alternatives you've considered**
* What I would _really_ like is the ability to use external stylesheets, as in ``. But this seems like a smaller ask.
* I guess I could accomplish arbitrary feats of CSS through the use of a browser extension.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.