Skip to content

A platform for community discussion. Free, open, simple.

657 B
Raw Blame
#main-chat-outlet.chat-view {
  min-height: 0;
  display: grid;
  grid-template-areas: "main threads";

  // minmax(0, …) lets the main area shrink below its content's min-content
  // (e.g. the pinned-message bar's text), so the side-panel divider can be
  // dragged freely instead of stopping at the widest no-wrap content.
  grid-template-columns: minmax(0, 1fr) auto;
}

.chat-side-panel {
  box-sizing: border-box;
  border-left: 1px solid var(--content-border-color);
  position: relative;
  min-width: 250px;

  &__list {
    flex-grow: 1;
    padding: 0 1.5em 1em;
  }
}

#main-chat-outlet .chat-side-panel .c-navbar__title {
  margin-left: 0;
}