Fix: Fixed bugs in friends menu
parent
b6724c6680
commit
341b4ddc5e
|
|
@ -1,3 +1,9 @@
|
|||
.title {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -18,6 +24,12 @@
|
|||
padding: 5px 0;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
|
||||
.title {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
svg {
|
||||
margin-inline-end: 4px;
|
||||
|
|
|
|||
|
|
@ -116,7 +116,9 @@ export default function Friends() {
|
|||
<summary>
|
||||
<Overline className={styles.overline} type="subtle">
|
||||
<ChevronDown size={20} />
|
||||
<Text id={i18n} /> — { list.length }
|
||||
<div className={styles.title}>
|
||||
<Text id={i18n} /> — { list.length }
|
||||
</div>
|
||||
</Overline>
|
||||
</summary>
|
||||
{ list.map(x => <Friend key={x._id} user={x} />) }
|
||||
|
|
|
|||
Loading…
Reference in New Issue