mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +03:00
feat: show post link title for comments on user page (#169)
This commit is contained in:
parent
d9e7681004
commit
366bc17f97
3 changed files with 26 additions and 3 deletions
|
@ -1255,10 +1255,28 @@ a.search_subreddit:hover {
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
.comment_data > * {
|
||||
.comment:has([id]) .comment_data > * {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.comment:not([id]) .comment_data {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.comment:not([id]) .comment_data > * {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.comment:not([id]) .comment_data > .comment_link {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
|
||||
.comment_image {
|
||||
max-width: 500px;
|
||||
align-self: center;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue