How to fix positioning of button indicator-item? #614
-
Hi. I'm building my first app with DaisyUI, so I'm brand new to this. I wrote the following code:
Unfortunately, on cellphone size viewports, the "+" button is "cut-off" (the right side of the screen), so only half of it is visible. I tried to reposition the button using tailwind utility classes ( Any suggestions as to what would be a recommended way to fix this issue? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, indicator-item indicator-bottom !right-10 md:!right-0 md:translate-x-1/2 |
Beta Was this translation helpful? Give feedback.
Hey,
Currently indicator classes will overwrite
right-*
class because of higher CSS specificity.I will fix this soon. I opened an issue here
But for now, you can use this:
https://play.tailwindcss.com/x7qXT3DfdA?size=782x346