Skip to content

Commit

Permalink
fix(blockcontainer): add full width to placeholder skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn authored Nov 29, 2021
1 parent 0cd1f42 commit 580dc5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/jaen/src/components/molecules/SFWrapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ const SFWrapper: React.FC<SFWrapperProps> = ({
<Wrapper
{...wrapProps}
boxShadow={popover.isOpen ? 'outline' : 'none'}
rounded="md">
{shouldRenderSkeleton ? <Skeleton h={20} /> : children}
rounded="md"
w="full">
{shouldRenderSkeleton ? <Skeleton h={20} w="full" /> : children}
</Wrapper>
</PopoverTrigger>
<PopoverContent>
Expand Down

0 comments on commit 580dc5b

Please sign in to comment.