recent_topics_row: Let pm status icons have its own class.

Some additional changes to make align them correctly after
the assigning the new class.
This commit is contained in:
Aman Agrawal 2022-11-09 12:30:08 +00:00 committed by Tim Abbott
parent f0c71a0293
commit 6e3d8c7733
2 changed files with 27 additions and 16 deletions

View File

@ -70,13 +70,6 @@
padding-right: 3px; padding-right: 3px;
} }
.fa-group {
font-size: 0.8rem;
margin-left: 5px;
/* color: hsl(105, 2%, 50%); */
opacity: 0.6;
}
.fa-envelope { .fa-envelope {
font-size: 0.7rem; font-size: 0.7rem;
margin-right: 2px; margin-right: 2px;
@ -173,14 +166,6 @@
visibility: hidden; visibility: hidden;
} }
.user_circle {
/* Shrink the user activity circle for the recent topics context. */
min-width: 7px;
height: 7px;
margin-left: 8px;
top: 0;
}
.flex_container_pm { .flex_container_pm {
/* Flex container to fit in user circle and group icon */ /* Flex container to fit in user circle and group icon */
display: flex; display: flex;
@ -396,6 +381,32 @@
font-size: 15px; font-size: 15px;
} }
} }
.pm_status_icon {
display: flex;
justify-content: center;
align-items: center;
/* Increasing vertical padding any further will increase
the height of the row. */
padding: 5px 0 5px 8px;
/* To accommodate fa-group icon */
width: 14px;
height: 14px;
.fa-group {
font-size: 0.8rem;
/* color: hsl(105, 2%, 50%); */
opacity: 0.6;
}
.user_circle {
/* Shrink the user activity circle for the recent topics context. */
width: 7px;
height: 7px;
float: left;
position: unset;
}
}
} }
#recent_topics_bottom_whitespace { #recent_topics_bottom_whitespace {

View File

@ -15,7 +15,7 @@
{{!-- For presence/group indicator --}} {{!-- For presence/group indicator --}}
{{#if is_private}} {{#if is_private}}
<div class="right_part"> <div class="right_part">
<span class="stream-privacy filter-icon"> <span class="pm_status_icon">
{{#if is_group}} {{#if is_group}}
<span class="fa fa-group"></span> <span class="fa fa-group"></span>
{{else}} {{else}}