fix: only transition box shadow

This commit is contained in:
TresAbhi committed 2023-09-18 21:35:46 +00:00
1 parent 30aeabba88
commit c0eca0c851
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -1,2 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
+1 -1
View File
@@ -17,7 +17,7 @@ export const tool = style({
padding: 16,
gap: 4,
boxShadow: 'inset 0 -192px 128px -128px black',
transitionDuration: theme.durations.regular,
transition: `box-shadow ${theme.durations.regular}`,
':hover': {
boxShadow: 'inset 0 -128px 128px -128px black',