question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

place for style plugin

See original GitHub issue

hi, can any body help me with style, plugin insert own style like this:

<style data-emotion="css">.css-1wa3eu0-placeholder{color:hsl(0,0%,50%);margin-left:2px;margin-right:2px;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);box-sizing:border-box;}</style>

to head tag in my DOM, i want change destination for this style, how it make

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
manvydasucommented, Jan 4, 2021

If you want to style Select component, some examples are here https://react-select.com/styles

0reactions
peterszerzocommented, Mar 28, 2021

@ebonow the posted solution doesn’t answer the problem. The issue here is that emotion adds style tags in the top-level document whereas custom elements using the shadow DOM will not apply these styles to the contents of the custom element. This leads to an otherwise good-looking custom element looking like this inside a custom element:

Screenshot 2021-03-28 at 12 15 36

What might solve the issue is an option to have react-select expose the container into which emotion should be adding styles. This link might be helpful: https://emotion.sh/docs/@emotion/cache#container.

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 of the Best Plugins to Add Custom Styles to the WordPress ...
7 of the Best Plugins to Add Custom Styles to the WordPress Editor · 1. TinyMCE Advanced · 2. Classic Editor · 3....
Read more >
Style Manager – Auto-magical system to style your entire ...
Description. Style Manager provides you with the tools to get your site's style to match your personality while retaining overall cohesion and balance....
Read more >
Stylish - Custom themes for any website
With hundreds of thousands of themes, skins & free backgrounds, you can customize any website with your own color scheme in a click....
Read more >
Style Organizer | Figma Community
Text Styles Added! Merge and link all color & text styles in the page: - Overall usage assessment - Group elements with the...
Read more >
How to Safely Add Custom CSS Styles to Plugins
Just remember – always keep your custom plugin CSS in a separate area marked by a comment. That way, you can always find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found