Skip to content

Commit

Permalink
Fix issue in text block overflow (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucieo authored Oct 3, 2023
1 parent 919b4cf commit f39b83f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/digests/ActionsBlockPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export default function ActionsBlockPopover({
}
return (
<Popover.Root open={open} onOpenChange={() => setOpen(!open)}>
<div className="flex justify-center items-center gap-2 w-5 h-5 top-2 right-1 absolute md:relative cursor-pointer">
<div className="flex justify-center items-center gap-2 top-2 right-1 absolute md:relative cursor-pointer">
<Popover.Trigger asChild className="relative">
<EllipsisVerticalIcon className="max-md:fill-white max-md:isolate" />
<EllipsisVerticalIcon className="max-md:fill-white max-md:isolate w-5 h-5 " />
</Popover.Trigger>
<Popover.Portal>
<Popover.Content>
Expand Down
2 changes: 1 addition & 1 deletion src/components/digests/block-card/text-card/TextCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function BlockTextCard({
{Boolean(block.text) && (
<div
className={cn(
'prose prose-violet prose-sm prose-headings:mb-1 prose-headings:mt-3 prose-p:mt-1 prose-p:leading-relaxed',
'prose prose-violet prose-sm prose-headings:mb-1 prose-headings:mt-3 prose-p:mt-1 prose-p:leading-relaxed word break-all',
{
'first:prose-h1:mt-7': index !== 0 && !isEditable,
}
Expand Down

1 comment on commit f39b83f

@vercel
Copy link

@vercel vercel bot commented on f39b83f Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

digestclub – ./

digestclub-git-main-premieroctet.vercel.app
digestclub-premieroctet.vercel.app
digestclub.vercel.app

Please sign in to comment.