@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 { background: transparent; overflow: auto; -webkit-overflow-scrolling: touch; } .file-drop-zone-container { position: relative; .file-drop-zone { position: absolute; border: 2px solid gray; background-color: white; width: 600px; height: 150px; bottom: 0px; margin: auto; left: 0px; right: 0px; } } } }