Skip to content

Commit

Permalink
fix: List description too long breaking styles (decentraland#1887)
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio authored Jun 26, 2023
1 parent 7cbd68e commit dbcc959
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions webapp/src/components/ListPage/ListPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
display: flex;
flex-direction: column;
row-gap: 10px;
width: 100%;
}

.subHeaderLeft :global(.Profile.avatar) {
Expand Down Expand Up @@ -193,6 +194,10 @@
margin-top: 20px;
}

.description {
overflow-wrap: break-word;
}

@media (max-width: 768px) {
.header:global(.ui.header) {
margin-left: 16px;
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/ListPage/ListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ const ListPage = (props: Props) => {
</Header>
<Header className={styles.header} sub>
<div className={styles.subHeaderLeft}>
<span>{list.description}</span>
<span className={styles.description}>{list.description}</span>
{isPublicView && list.userAddress && (
<LinkedProfile
data-testid={'linked-profile'}
Expand Down

0 comments on commit dbcc959

Please sign in to comment.