Giter Site home page Giter Site logo

Comments (5)

MarcGodard avatar MarcGodard commented on June 18, 2024 1

Ahhh I see, kinda quirky but I understand.

Just strange cause I want it on both... so I would need rounded-3xl and sm:rounded-3xl

from daisyui.

github-actions avatar github-actions commented on June 18, 2024

Thank you @MarcGodard for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

from daisyui.

saadeghi avatar saadeghi commented on June 18, 2024

Reproduction URL

See screenshots

Please provide a reproduction URL.
The reason I ask for reproduction URL is not to prove a problem exists. Is so I can run the code and see the source code and config and compare it with the result styles on browser so I can find what is causing the issue.

I don't see the problem: https://play.tailwindcss.com/tjSvwAW0F3

from daisyui.

MarcGodard avatar MarcGodard commented on June 18, 2024

@saadeghi not sure why you closed the issue...

https://play.tailwindcss.com/OkrCkTCmOM

There is your code. You are right, I will provide code from now on.

Change the rounded and nothing changes on the modal unless you shrink it to small

from daisyui.

saadeghi avatar saadeghi commented on June 18, 2024

I will provide code from now on

Thank you. Without a reproduction code, I would have no idea about how you're using the class names, what markup you're using and how's your build config.

https://play.tailwindcss.com/OkrCkTCmOM

Here you can use sm:rounded-lg instead of rounded-lg.
The reason is, you have modal-bottom by default. It puts the modal to the bottom of page and sets border radius to the top only. Then for screens larger than sm you have sm:modal-middle to put it in the middle of page. So if there's a different style for sm, sm: prefix is needed for rounded-lg as well.

https://play.tailwindcss.com/Xzbs0cexpw

from daisyui.

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.