Skip to content

Commit a64a0c0

Browse files
authored
Merge pull request #15 from sauravhathi/14-bug-text-overflow-if-you-typed-too-many-words
Update Preview.jsx
2 parents 97c4830 + 6b4e212 commit a64a0c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/preview/Preview.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const Preview = () => {
170170
<h2 className="section-title mb-1 border-b-2 border-gray-300">
171171
Summary
172172
</h2>
173-
<p className="content">{resumeData.summary}</p>
173+
<p className="content break-words">{resumeData.summary}</p>
174174
</div>
175175
)}
176176
<div>
@@ -262,7 +262,7 @@ const Preview = () => {
262262
endYear={item.endYear}
263263
id={`work-experience-start-end-date`}
264264
/>
265-
<p className="content">{item.description}</p>
265+
<p className="content hyphens-auto">{item.description}</p>
266266
<Droppable
267267
droppableId={`WORK_EXPERIENCE_KEY_ACHIEVEMENT-${index}`}
268268
type="WORK_EXPERIENCE_KEY_ACHIEVEMENT"

0 commit comments

Comments
 (0)