Skip to content

Commit

Permalink
OPHJOD-887: Fix popup right padding
Browse files Browse the repository at this point in the history
  • Loading branch information
sauanto committed Oct 23, 2024
1 parent 7016a0c commit df111d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/components/PopupList/PopupList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const PopupList = ({ children, classNames = '' }: PopupListProps) => {
export const PopupListItem = ({ children, classNames = '' }: PopupListItemProps) => {
return (
<div
className={`ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-pl-5 ds-rounded ${classNames}`.trim()}
className={`ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-px-5 ds-rounded ${classNames}`.trim()}
>
{children}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`PopupList > renders the PopupList component correctly 1`] = `
class="ds-inline-flex ds-flex-col ds-items-start ds-rounded ds-bg-white ds-py-6 ds-px-[20px] ds-shadow-border ds-w-[257px]"
>
<div
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-pl-5 ds-rounded"
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-px-5 ds-rounded"
>
<a
href="/foo"
Expand All @@ -15,7 +15,7 @@ exports[`PopupList > renders the PopupList component correctly 1`] = `
</a>
</div>
<div
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-pl-5 ds-rounded"
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-px-5 ds-rounded"
>
<a
href="/bar"
Expand All @@ -24,7 +24,7 @@ exports[`PopupList > renders the PopupList component correctly 1`] = `
</a>
</div>
<div
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-pl-5 ds-rounded"
class="ds-flex ds-items-center ds-gap-3 ds-py-3 ds-text-heading-4 hover:ds-text-accent hover:ds-underline focus:ds-left-auto focus:ds-underline ds-w-full ds-px-5 ds-rounded"
>
<a
href="/baz"
Expand Down

0 comments on commit df111d2

Please sign in to comment.