diff --git a/src/newsreader/scss/components/posts/_posts.scss b/src/newsreader/scss/components/posts/_posts.scss index 8bb86e9..3854b56 100644 --- a/src/newsreader/scss/components/posts/_posts.scss +++ b/src/newsreader/scss/components/posts/_posts.scss @@ -1,15 +1,16 @@ .posts { - width: 70%; margin: 0 0 2% 20px; + width: 70%; + &__list { display: flex; flex-direction: column; - list-style: none; - - width: 95%; + width: 100%; padding: 0; + + list-style: none; } &__item { @@ -18,6 +19,8 @@ padding: 10px; + max-width: max-content; + &:first-child { padding: 0 10px 10px 10px; } @@ -39,8 +42,6 @@ } &__header { - width: 80%; - overflow: hidden; text-overflow: ellipsis; white-space: nowrap;