Fix comments with long usernames breaking comment section
This commit is contained in:
parent
3b8529ca11
commit
fc001e7427
@ -6,9 +6,10 @@
|
|||||||
|
|
||||||
.comment{
|
.comment{
|
||||||
display:grid;
|
display:grid;
|
||||||
grid-template-columns: 0fr 0fr 1fr;
|
grid-template-columns: auto auto 100px 1fr;
|
||||||
grid-template-rows: 0fr 0fr 0fr 0fr;
|
grid-template-rows: 0fr 0fr 0fr 0fr;
|
||||||
background-color: #dadada;
|
background-color: #dadada;
|
||||||
|
justify-content: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment .author-avatar{
|
.comment .author-avatar{
|
||||||
@ -25,10 +26,11 @@
|
|||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
margin-right:15px;
|
margin-right:15px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment .text{
|
.comment .text{
|
||||||
grid-column: 2 / span 2;
|
grid-column: 2 / span 3;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
@ -198,7 +198,7 @@ address{
|
|||||||
padding-left:2px;
|
padding-left:2px;
|
||||||
padding-right:2px;
|
padding-right:2px;
|
||||||
}
|
}
|
||||||
.full-item address{
|
.full-item>address{
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 4;
|
grid-row: 4;
|
||||||
justify-self: start;
|
justify-self: start;
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
.comments{
|
.comments{
|
||||||
grid-column:2;
|
grid-column:2;
|
||||||
}
|
}
|
||||||
|
.comment{
|
||||||
|
width:640px;
|
||||||
|
}
|
||||||
#left .page-button{
|
#left .page-button{
|
||||||
grid-column:2;
|
grid-column:2;
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,9 @@
|
|||||||
grid-row: 6;
|
grid-row: 6;
|
||||||
margin-top:10px;
|
margin-top:10px;
|
||||||
}
|
}
|
||||||
|
.comment{
|
||||||
|
width:640px;
|
||||||
|
}
|
||||||
.more-comments{
|
.more-comments{
|
||||||
grid-column: 1 / span 2;
|
grid-column: 1 / span 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user