Skip to content

Commit

Permalink
SOV-3550: proposal title formatting (#722)
Browse files Browse the repository at this point in the history
* fix: proposal title formatting

* Create tender-brooms-study.md

* fix: proposal word break
  • Loading branch information
rick23p authored Dec 20, 2023
1 parent bd336c8 commit 7ea553d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-brooms-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-3550: proposal title formatting
4 changes: 2 additions & 2 deletions apps/frontend/src/app/5_pages/ProposalPage/ProposalPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ const ProposalPage: FC = () => {
<div className="w-full flex flex-col lg:flex-row lg:gap-5 xl:gap-20 text-left text-gray-10 mt-6 mb-5 sm:mt-16 max-w-7xl">
<div className="w-full lg:w-2/3 flex flex-col gap-6">
<div className="lg:px-6 lg:pb-6">
<Heading className="text-base sm:text-2xl font-medium break-all">
<Heading className="text-base sm:text-2xl font-medium break-words">
{proposalInfo.title}
</Heading>
<div className="mt-2.5 sm:mt-3 font-medium text-gray-30 break-all">
<div className="mt-2.5 sm:mt-3 font-medium text-gray-30 break-words">
{proposalInfo.summary}
</div>
<div className="mt-2.5 sm:mt-6 text-xs font-medium text-gray-30 flex justify-between lg:justify-start">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export const ProposalInfo: FC<ProposalInfoProps> = ({ link, description }) => (
>
{t(pageTranslations.proposalText)}
</Paragraph>
<div>
<div className="overflow-auto">
<ReactMarkdown
className="text-xs text-gray-30 break-words sm:break-normal"
className="text-xs text-gray-30 break-words sm:break-words"
remarkPlugins={[remarkGfm]}
>
{description}
Expand Down

0 comments on commit 7ea553d

Please sign in to comment.