mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 17:43:43 +08:00
6ec6cfccf8
This changes the thread header positioning of the unread indicator to match the designs based on the route: 1. When the channel is open, show the indicator of # unread threads with the icon 2. When the threads list is open, show no indicator since you are on the list and can see which threads are unread 3. When a single thread is open, show the unread threads indicator along with a left < back button, with a label to show that this goes back to ongoing discussions Drawer changes to come in another PR.
27 lines
526 B
SCSS
27 lines
526 B
SCSS
.chat-thread-header {
|
|
height: var(--chat-header-offset);
|
|
min-height: var(--chat-header-offset);
|
|
border-bottom: 1px solid var(--primary-low);
|
|
border-top: 1px solid var(--primary-low);
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-inline: 0.5rem;
|
|
|
|
.chat-thread__back-to-list {
|
|
padding: 0.5rem 0;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
&__buttons {
|
|
display: flex;
|
|
margin-left: auto;
|
|
}
|
|
|
|
&__left-buttons {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
}
|