Giter Club home page Giter Club logo

Comments (9)

vinoth2442 avatar vinoth2442 commented on June 3, 2024
font: var(--body-1);

Not working inside shadow dom

from kor.

eduferfer avatar eduferfer commented on June 3, 2024

Hi @vinoth2442 , the screenshot is not showing up, would you mind uploading it again?

from kor.

eduferfer avatar eduferfer commented on June 3, 2024
font: var(--body-1);

Not working inside shadow dom

Is kor-styles.css loaded correctly?

from kor.

vinoth2442 avatar vinoth2442 commented on June 3, 2024
font: var(--body-1);

Not working inside shadow dom

Is kor-styles.css loaded correctly?

Yes loaded.
Problem here is need to add font: var(--body-1); inside :host .
It's now present inside body{}

from kor.

vinoth2442 avatar vinoth2442 commented on June 3, 2024

Hi @vinoth2442 , the screenshot is not showing up, would you mind uploading it again?

Screen Shot 2022-06-03 at 1 38 59 PM

from kor.

vinoth2442 avatar vinoth2442 commented on June 3, 2024

any update about this issue?

from kor.

eduferfer avatar eduferfer commented on June 3, 2024

any update about this issue?

Hi, I investigated the issue and it doesn't seem like the --body-1 font declaration is related to that, because even when I force font: unset; it still doesn't get misaligned.

The only way I found to reproduce the issue was applying css align-items: baseline;, so in this case could you please confirm that there is no interfering css inherited by the kor-toggle element?

If you have a link to the repo or code snippet I'd be happy to take a look as well.

image

from kor.

vinoth2442 avatar vinoth2442 commented on June 3, 2024

Screen Shot 2022-07-08 at 11 51 38 AM

from kor.

vinoth2442 avatar vinoth2442 commented on June 3, 2024

host([size="body-1"]) {} is empty

from kor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.