Giter VIP home page Giter VIP logo

Comments (5)

anubra266 avatar anubra266 commented on June 2, 2024 1

In the mean time @etlovett
https://play.panda-css.com/dN8_NImNgf/1KIHvpCTBM

from panda.

etlovett avatar etlovett commented on June 2, 2024

In the mean time @etlovett https://play.panda-css.com/dN8_NImNgf/1KIHvpCTBM

Ah! I didn't realize that Panda had an alias for this. Another valid solution is to just put a // @ts-expect-error on it for now since Panda does produce the correct CSS for the property.

from panda.

segunadebayo avatar segunadebayo commented on June 2, 2024

The WebkitBoxOrient property is now considered obsolete, hence the reason it doesn't show up in the csstype library we use and in the list of css properties you mentioned (which is pulled directly from MDN)

See more here:
https://webkit.org/css-status/

CleanShot 2024-02-16 at 23 02 27@2x

Alternatives (as suggested by ChatGPT)

CleanShot 2024-02-16 at 23 05 40@2x

from panda.

etlovett avatar etlovett commented on June 2, 2024

@segunadebayo I agree that -webkit-box-orient is obsolete as a standalone property. Unfortunately it must still be used in conjunction with -webkit-line-clamp, which is the only way to trigger line clamping today. (Indeed, this is how Panda's lineClamp property works!) So for anyone who doesn't use Panda's lineClamp, WebkitBoxOrient is a requirement.

from panda.

anubra266 avatar anubra266 commented on June 2, 2024

@etlovett If it's a requirement for you, you can add it to your project this way:
https://play.panda-css.com/UBc9pUSqAB?tab=config

from panda.

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.