mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(button): fixing the icon shift in safari (#5051)
* fix: fixing the issue for icon shift in safari * chore: changing the solution to be cross browser compatible
This commit is contained in:
parent
a758228136
commit
9247f74233
5
.changeset/twelve-plants-smoke.md
Normal file
5
.changeset/twelve-plants-smoke.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/button": patch
|
||||
---
|
||||
|
||||
Fix for the button icon shift in safari(#4133).
|
||||
@ -37,7 +37,7 @@ const button = tv({
|
||||
"subpixel-antialiased",
|
||||
"overflow-hidden",
|
||||
"tap-highlight-transparent",
|
||||
"data-[pressed=true]:scale-[0.97]",
|
||||
"transform-gpu data-[pressed=true]:scale-[0.97]",
|
||||
// focus ring
|
||||
...dataFocusVisibleClasses,
|
||||
],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user