Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Galleria: Tailwind indicator styling #7070

Closed
mukit-hasan opened this issue Aug 21, 2024 · 10 comments
Closed

Galleria: Tailwind indicator styling #7070

mukit-hasan opened this issue Aug 21, 2024 · 10 comments
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@mukit-hasan
Copy link

mukit-hasan commented Aug 21, 2024

Galleria css not working

I have been having a problem with implementing tailwindcss with primereact some CSS works some doesn't Galleria is one of them i am trying to show Indicators in Galleria but when it loads it shows for a second then it basin but it is there you can click on them js working fine but its invisible shows

Reproducer

https://stackblitz.com/~/github.com/mukit-hasan/vite-styled-tailwind

System Information

  System:
    OS: Windows 10 10.0.19045
    CPU: (4) ia32 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz 
    Memory: 365.79 MB / 3.96 GB
  Binaries:
    Node: 20.10.0 - C:\Program Files (x86)\nodejs\node.EXE
    npm: 10.2.3 - C:\Program Files (x86)\nodejs\npm.CMD   
  Browsers:
    Edge: Chromium (120.0.2210.144)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    primereact: ^10.6.2 => 10.8.2
    react: ^18.2.0 => 18.3.1

Steps to reproduce the behavior

No response

Expected behavior

I want primereact css work with tailwindcss. and what it to look how it should look.

@mukit-hasan mukit-hasan added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 21, 2024
@melloware melloware changed the title Galleria: Brief_Bug_Description Galleria: Tailwind indicator styling Aug 21, 2024
@melloware melloware added Component: Tailwind Tailwind specific issue Component: Unstyled Issue related to unstyled/passthrough attributes and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 21, 2024
@mukit-hasan
Copy link
Author

I found the problem it's in index.css
@import 'primereact/resources/themes/lara-light-blue/theme.css' layer(primereact);

Remove layer(primereact)
Everything should be fine
Please update in the example and on website tailwind guide

@melloware
Copy link
Member

You can submit a PR the docs are all right here in GitHub.

@mukit-hasan
Copy link
Author

Ok

@mukit-hasan
Copy link
Author

What will be the commit message?

@melloware
Copy link
Member

melloware commented Aug 23, 2024

I just fixed it. 2e898be

@melloware melloware added Component: Documentation Issue or pull request is related to Documentation and removed Component: Tailwind Tailwind specific issue Component: Unstyled Issue related to unstyled/passthrough attributes labels Aug 23, 2024
@melloware melloware self-assigned this Aug 23, 2024
@melloware melloware added this to the 10.8.3 milestone Aug 23, 2024
@mukit-hasan
Copy link
Author

Thank you and please update the website guide on tailwind

@melloware
Copy link
Member

Which URL are you referring to?

@mukit-hasan
Copy link
Author

https://primereact.org/tailwind/
This link

@mukit-hasan
Copy link
Author

mukit-hasan commented Aug 23, 2024

I Initially followed this guide and faced problem for that reason then someone on react discord group help me to identify the problem

@melloware
Copy link
Member

Yep that is what my commit above fixes in /docs/tailwind/ folder but the showcase only gets deployed when a release is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
None yet
Development

No branches or pull requests

2 participants