Skip to content

Commit 9b275e8

Browse files
committed
refactor: convert an inline style to tailwind in PWAInstallButton
1 parent 8da4ed5 commit 9b275e8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/ui/PWAInstallButton.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,10 @@ const PWAInstallButton = () => {
7070

7171

7272
<div
73-
onClick={handleInstall}
74-
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer"
75-
style={{
76-
backgroundColor: "#130e1f",
77-
border: "1.5px solid #FFFFFF26",
78-
}}
79-
>
73+
onClick={handleInstall}
74+
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer bg-[#130e1f] border border-[#FFFFFF26] border-[1.5px]"
75+
>
76+
8077
<Image
8178
src="/papers_logo.png"
8279
alt="Papers App"

0 commit comments

Comments
 (0)