Use max-content for post items

This commit is contained in:
Sonny Bakker 2020-11-01 14:02:58 +01:00
parent 4cdb16b2c1
commit 06bc705c00

View file

@ -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;