Giter Site home page Giter Site logo

Comments (4)

mplatts avatar mplatts commented on June 3, 2024

Hmm yeah it should work as long as pc-icon-button is defined in the file. We can probably remove the reference to pc-icon-button though @fredwu ? The group class should be enough to work

from petal_components.

fredwu avatar fredwu commented on June 3, 2024

I'm not sure the group name is the cause:

Groups can be named however you like and don’t need to be configured in any way β€” just name your groups directly in your markup and Tailwind will automatically generate the necessary CSS.

https://tailwindcss.com/docs/hover-focus-and-other-states#differentiating-nested-groups

Removing the group name will cause the button to not be embeddable in a parent group. as the parent group will affect the visibility of the button.

from petal_components.

fredwu avatar fredwu commented on June 3, 2024

@henryoswald could you please check to see what version of Tailwind is configured?

In config/config.exs:

config :tailwind,
  version: "3.3.1",
  #...

And do a mix tailwind.install to make sure the specified version is used.

from petal_components.

henryoswald avatar henryoswald commented on June 3, 2024

Thanks, I was on 3.1.8 still from my petal_pro clone. I didn't realise there was a separate place to specify the version.

All sorted now.

from petal_components.

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.