Skip to content

Commit 95e5a5c

Browse files
committed
👕 #324 Tailwind CSSの以下の警告を修正
71:26 warning Classname 'ring-opacity-5' should be replaced by an opacity suffix (eg. '/5') tailwindcss/migration-from-tailwind-2 106:24 warning Classname 'ring-opacity-5' should be replaced by an opacity suffix (eg. '/5') tailwindcss/migration-from-tailwind-2
1 parent 9cfff85 commit 95e5a5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/_components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const Header = ({ language, currentUrlPath }: Props): JSX.Element => {
6868
<Text className="text-base font-bold">ポリシー</Text>
6969
<DownIcon />
7070
</Button>
71-
<Popover className="bg-orange-500 shadow-lg ring-1 ring-black ring-opacity-5">
71+
<Popover className="bg-orange-500 shadow-lg ring-1 ring-black/5">
7272
<Menu className="w-[180px]">
7373
<MenuItem className="flex w-full items-center px-6 py-2 text-left text-base font-medium text-orange-50 hover:bg-orange-600">
7474
<Link href={privacy.link} className="w-full">
@@ -103,7 +103,7 @@ export const Header = ({ language, currentUrlPath }: Props): JSX.Element => {
103103
<DownIcon />
104104
</span>
105105
</Button>
106-
<Popover className="bg-orange-500 shadow-lg ring-1 ring-black ring-opacity-5">
106+
<Popover className="bg-orange-500 shadow-lg ring-1 ring-black/5">
107107
<Menu className="w-[167px]">
108108
<MenuItem
109109
className={`flex w-full items-center px-5 py-2 text-left text-base font-medium ${

0 commit comments

Comments
 (0)