Skip to content

Commit d8efde0

Browse files
committed
Update typography and Tiptap classes, fix styling and break word issue
1 parent c707932 commit d8efde0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@programmer_network/yail",
3-
"version": "1.0.156",
3+
"version": "1.0.157",
44
"description": "Programmer Network's official UI library for React",
55
"author": "Aleksandar Grbic - (https://programmer.network)",
66
"publishConfig": {

src/Components/AuthorCard/__snapshots__/AuthorCard.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exports[`AuthorCard component > renders correctly 1`] = `
3030
John Doe
3131
</h2>
3232
<p
33-
class="my-4 text-primary-text-color !my-0"
33+
class="my-4 text-primary-text-color break-words overflow-hidden !my-0"
3434
>
3535
An expert in the field.
3636
</p>

src/Components/CTA/__snapshots__/CTA.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ exports[`CTA component > renders correctly - snapshot test 1`] = `
2020
Test Title
2121
</h2>
2222
<p
23-
class="my-4 text-primary-text-color mx-auto max-w-md text-primary-text-color text-center !my-0"
23+
class="my-4 text-primary-text-color break-words overflow-hidden mx-auto max-w-md text-primary-text-color text-center !my-0"
2424
>
2525
Test Subtitle
2626
</p>

src/Components/Card/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Card: FC<ICard> = ({ data, className, NavLink }) => {
4646
<H3 margin='none'>{title}</H3>
4747
</NavLink>
4848
)}
49-
<Paragraph>{description}</Paragraph>
49+
<Paragraph margin='none'>{description}</Paragraph>
5050
{tags && tags.length > 0 && (
5151
<div className='mt-2 flex items-center gap-2'>
5252
{tags.map((tag, index) => (

src/Components/Inputs/Tiptap/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const toolbarItemToClassName = {
7575
},
7676
[TIPTAP_TOOLBAR_ITEMS.PARAGRAPH]: {
7777
tagName: "p",
78-
classes: "my-4 text-primary-text-color"
78+
classes: "my-4 text-primary-text-color break-words overflow-hidden"
7979
},
8080
[TIPTAP_TOOLBAR_ITEMS.LINK]: {
8181
tagName: "a",

0 commit comments

Comments
 (0)