Joffrey JAFFEUX b8d5f951f6
UX: implements swipe on row channel (#23436)
On mobile swiping a channel row will now show a "Remove" option. Holding this to the end will now remove this row from your list of followed direct message channels.

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2023-09-11 14:51:13 +02:00

63 lines
1.1 KiB
SCSS

@import "common/foundation/mixins";
.full-page-chat {
overflow: hidden; //prevents double scroll
.channels-list {
overflow-y: overlay;
padding-bottom: 6rem;
box-sizing: border-box;
.channels-list-container {
background: var(--secondary);
overflow: hidden;
}
.chat-channel-divider {
font-size: var(--font-up-1);
&:first-of-type {
padding-top: 1rem;
}
.channel-title {
color: var(--quaternary);
font-size: var(--font-down-1);
}
}
.chat-user-avatar {
+ .chat-channel-title__usernames {
margin-left: 1rem;
}
}
.chat-channel-title {
width: 100%;
overflow: hidden;
&__users-count {
font-size: var(--font-up-2);
& + .chat-channel-title__name {
margin-left: 1rem;
}
}
&__name {
margin-left: 0.75em;
font-size: var(--font-up-1);
}
&__category-badge {
font-size: var(--font-up-1);
}
&__user-status-message {
flex-shrink: 3;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}