From 65b503d7a183434c2b6196a6b6d6772d13ea8be1 Mon Sep 17 00:00:00 2001 From: Victor Genaev Date: Thu, 7 Dec 2023 14:07:45 +0100 Subject: [PATCH] fix(Popover): remove redundant max-w-fit class --- .../orbit-components/src/Popover/components/ContentWrapper.tsx | 3 +-- packages/orbit-components/src/Popover/index.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/orbit-components/src/Popover/components/ContentWrapper.tsx b/packages/orbit-components/src/Popover/components/ContentWrapper.tsx index febe470cc7..3550db299b 100644 --- a/packages/orbit-components/src/Popover/components/ContentWrapper.tsx +++ b/packages/orbit-components/src/Popover/components/ContentWrapper.tsx @@ -144,8 +144,7 @@ const PopoverContentWrapper = ({ "fixed", "inset-x-0 top-0", "h-full w-full", - // TODO: use bg-ink-dark/60 tw class - "bg-[rgba(37,42,49,.6)]", + "bg-ink-dark/60", "duration-normal transition-[opacity,transform] ease-in-out", "z-[999]", "lm:hidden", diff --git a/packages/orbit-components/src/Popover/index.tsx b/packages/orbit-components/src/Popover/index.tsx index 005201c618..e81e7ed0ba 100644 --- a/packages/orbit-components/src/Popover/index.tsx +++ b/packages/orbit-components/src/Popover/index.tsx @@ -150,7 +150,7 @@ const Popover = ({ return ( <>