Просмотр исходного кода

💄 style(avatar): update background opacity syntax

- replace bg-black bg-opacity-50 with bg-black/50 for more concise Tailwind syntax
yourname 7 месяцев назад
Родитель
Сommit
83a1bc4999
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/mobile/components/AvatarCropper.tsx

+ 1 - 1
src/client/mobile/components/AvatarCropper.tsx

@@ -188,7 +188,7 @@ export const AvatarCropper: React.FC<AvatarCropperProps> = ({
   };
 
   return (
-    <div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4">
+    <div className="fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4">
       <div 
         className="rounded-2xl p-6 max-w-md w-full"
         style={{