@charset 'utf-8'; $line-basic: 1px solid #dddddd; @mixin ellipsis($row) { overflow: hidden; text-overflow: ellipsis; @if $row == 1 { display: block; white-space: nowrap; word-wrap: normal; } @else if $row >= 2 { display: -webkit-box; -webkit-line-clamp: $row; -webkit-box-orient: vertical; word-wrap: break-word; } } :host { display: flex; width: 100%; height: 100%; flex: 1; .container { width: 100%; height: 100%; .chat-toolbar { height: 70px; min-height: 70px; border-bottom: $line-basic; background-color: #ffffff; .chat-header { width: 100%; .responsive-chats-button { padding: 0; width: 40px; height: 40px; border-radius: 50%; background-color: #252525; color: #efefef; font-size: 16px; font-weight: 100; line-height: 40px; } .room-name { font-size: 16px; padding: 0 10px; @include ellipsis(1); } .room-option { width: 100px; margin-left: auto; } } } .chat-content { position: relative; background: transparent; overflow: auto; -webkit-overflow-scrolling: touch; .file-drop-zone-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.95); .file-drop-zone { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; } } } } }