Skip to content

Commit

Permalink
fix(Popover): remove redundant max-w-fit class
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Dec 11, 2023
1 parent effcac7 commit d9fcff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/orbit-components/src/Popover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const Popover = ({
return (
<>
<div
className="relative max-w-fit"
className="relative inline-block"
ref={ref}
role="button"
// https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using
Expand Down

0 comments on commit d9fcff4

Please sign in to comment.