Chat List: Center forum icons (#3328)

This commit is contained in:
Alexander Zinchuk 2023-06-20 20:55:14 +02:00
parent e1eb7a0315
commit ee85e49f8f
3 changed files with 9 additions and 3 deletions

View File

@ -71,6 +71,7 @@
margin-left: 0.25rem; margin-left: 0.25rem;
margin-right: 0.25rem; margin-right: 0.25rem;
display: inline; display: inline;
position: relative;
} }
.main-column { .main-column {
@ -108,9 +109,13 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.otherColumnIcon {
position: absolute;
}
.other-column-title { .other-column-title {
font-size: 0.9375rem; font-size: 0.9375rem;
margin-left: 0.25rem; margin-left: 1.5rem;
} }
.other-columns { .other-columns {

View File

@ -135,6 +135,7 @@ const ChatForumLastMessage: FC<OwnProps> = ({
> >
<TopicIcon <TopicIcon
topic={topic} topic={topic}
className={styles.otherColumnIcon}
observeIntersection={observeIntersection} observeIntersection={observeIntersection}
/> />
<span className={styles.otherColumnTitle}>{renderText(topic.title)}</span> <span className={styles.otherColumnTitle}>{renderText(topic.title)}</span>

View File

@ -181,8 +181,8 @@
} }
.ListItem-button { .ListItem-button {
padding-top: 0.25rem; padding-top: 0.3125rem;
padding-bottom: 0.375rem; padding-bottom: 0.3125rem;
} }
.title { .title {