perspective/perspective

View on GitHub
lib/client/chat/chat.less

Summary

Maintainability
Test Coverage
.chat-container {
    padding: 20px;
}

.chat-messages {
  overflow-y: scroll;
  height: 0;
}

.message-composer {
  margin-top: 10px;
  padding: 10px 5px;
  z-index: 1;
}

.message {
  position: relative;
  margin-top: 0.5em;
  margin-left: 38px;
}

.message-author {
  font-weight: bold;
}

.message-author-image {
  position: absolute;
  max-width: 30px;
  max-height: 30px;
  margin-left: -38px;
  border-radius: 2px;
}


.message-time {
  color: #ccc;
  margin-left: 0.5em;
  font-size: 0.7em;
}

.message-content {
  display: block;
}