mirror of
https://github.com/R0m1k3/Menu.git
synced 2026-10-11 17:28:28 +02:00
fix: correct CSS property names in React style objects (willChange)
Fixed invalid CSS property names in JSX style objects: - Changed 'will-change' to 'willChange' in AdminButtonRow and ThemeToggle - Generated Prisma client types Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bab26e3971
commit
7c8dd724a4
4 files changed
+10
-105
No files matched your search
@@ -163,7 +163,7 @@ export function AdminButtonRow({ button }: AdminButtonRowProps) {
|
||||
justifyContent: 'space-between',
|
||||
gap: 'clamp(0.8rem, 2vw, 1.2rem)',
|
||||
transition: 'all 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
||||
will-change: 'transform, background, border-color',
|
||||
willChange: 'transform, background, border-color',
|
||||
}}
|
||||
onMouseEnter={(e) => {
|
||||
e.currentTarget.style.background = 'var(--card-hover-bg)';
|
||||
@@ -231,7 +231,7 @@ export function AdminButtonRow({ button }: AdminButtonRowProps) {
|
||||
borderRadius: '8px',
|
||||
border: '1.5px solid transparent',
|
||||
transition: 'all 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
||||
will-change: 'color, border-color, background',
|
||||
willChange: 'color, border-color, background',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
onMouseEnter={(e) => {
|
||||
@@ -259,7 +259,7 @@ export function AdminButtonRow({ button }: AdminButtonRowProps) {
|
||||
borderRadius: '8px',
|
||||
border: '1.5px solid transparent',
|
||||
transition: 'all 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
||||
will-change: 'color, border-color, background',
|
||||
willChange: 'color, border-color, background',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
onMouseEnter={(e) => {
|
||||
|
||||
@@ -29,7 +29,7 @@ export function ThemeToggle() {
|
||||
justifyContent: 'center',
|
||||
cursor: 'pointer',
|
||||
transition: 'all 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
||||
will: 'transform, background, border-color',
|
||||
willChange: 'transform, background, border-color',
|
||||
}}
|
||||
onMouseEnter={(e) => {
|
||||
e.currentTarget.style.background = 'var(--card-hover-bg)';
|
||||
|
||||
Reference in new issue
Block a user