From 196cdb614bb3c9054314347255fb5c5f31fe287e Mon Sep 17 00:00:00 2001 From: gofnnp Date: Mon, 16 Oct 2023 20:14:36 +0400 Subject: [PATCH] fix: image resolution finger --- public/finger1.svg | 3 +++ src/components/TextWithFinger/index.tsx | 2 +- src/components/TextWithFinger/styles.module.css | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 public/finger1.svg diff --git a/public/finger1.svg b/public/finger1.svg new file mode 100644 index 0000000..bc4f333 --- /dev/null +++ b/public/finger1.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/TextWithFinger/index.tsx b/src/components/TextWithFinger/index.tsx index 42c353d..b15f181 100644 --- a/src/components/TextWithFinger/index.tsx +++ b/src/components/TextWithFinger/index.tsx @@ -28,7 +28,7 @@ function TextWithFinger({ )} finger diff --git a/src/components/TextWithFinger/styles.module.css b/src/components/TextWithFinger/styles.module.css index 27ab885..26c065e 100644 --- a/src/components/TextWithFinger/styles.module.css +++ b/src/components/TextWithFinger/styles.module.css @@ -42,6 +42,7 @@ } .finger { + width: 44px; margin: 8px 0; animation: jump 3s ease infinite; }