sparkletown/sparkle

View on GitHub
src/components/molecules/Chatbox/Chatbox.scss

Summary

Maintainability
Test Coverage
@import "scss/constants";

.Chatbox {
  height: 100%;
  display: flex;
  flex-flow: column;

  &__messages {
    flex: 1;
    display: flex;
    flex-flow: column-reverse;
    justify-self: flex-end;
    padding: $spacing--xl $spacing--lg 0;
    overflow-y: auto;
  }

  &__messages-infinite-scroll {
    display: flex;
    flex-flow: column-reverse;
  }

  &__messages-infinite-scroll-loading {
    overflow: hidden;
  }

  &__form-box {
    background-color: $content--under;
    display: flex;
    flex-flow: column;
  }
}