discourse/plugins/chat/assets/stylesheets/common/chat-side-panel.scss
Joffrey JAFFEUX ce801e3ff0
UX: improves support of window resize in chat (#24115)
- correctly respects min-width/height defined in css
- removes fixed width/height when resizing window
- reduces the min width of the side panel from 250px to 150px
2023-10-26 20:26:59 +02:00

21 lines
386 B
SCSS

#main-chat-outlet.chat-view {
min-height: 0;
display: grid;
grid-template-rows: 100%;
grid-template-areas: "main threads";
grid-template-columns: 1fr auto;
}
.chat-side-panel {
grid-area: threads;
box-sizing: border-box;
border-left: 1px solid var(--primary-low);
position: relative;
min-width: 150px;
&__list {
flex-grow: 1;
padding: 0 1.5em 1em;
}
}