.App { height: 100vh; display: flex; justify-content: center; } .reg-form { display: flex; flex-direction: column; width: 30vw; } .chat-window { display: flex; flex-direction: column; height: 100%; } .aside-chat { background: rgb(158, 158, 226); width: 20vw; margin-bottom: 5px; } .aside-chat a { display: flex; text-decoration: none; color: black; border: 1px solid black; } .aside-chat-info { display: flex; flex-direction: column; } .aside-chat img, .chat-edit-form img { width: 40%; object-fit: contain; } .aside-chat h5 { margin: 0; } main { display: flex; align-items: center; width: 100%; } .new-chat { display: flex; flex-direction: column; } .chat-list, .message-list { display: flex; flex-direction: column; overflow-y: scroll; height: 100vh; } .chat-list li { list-style: none; } .aside-chat-btn button { width: 100%; height: 40px; } .aside-chat-btn { margin-bottom: 5px; } .msg-user, .msg-someone { display: flex; flex-direction: column; border: 1px solid black; margin: 10px; list-style: none; border-radius: 10px; padding: 5px; max-width: 200px; min-width: 200px; background: honeydew; } .msg-user { align-self: flex-end; } .msg-nick { font-weight: 600; } .msg-date { font-size: 12px; } .chat-window { flex-grow: 2; background: rgb(209, 207, 207); } .pick { background: red; } .msg-text { white-space: pre-line; } .message-input { display: flex; } textarea { flex-grow: 1; resize: none; } .user-search-list { width: 80%; height: 300px; overflow-y: scroll; list-style: none; } .user-search-panel { display: flex; flex-direction: column; } .chat-nav { background: grey; height: 5vw; } .chat-edit-form { display: flex; flex-direction: column; width: 25vw; padding: 0 10px; } .edit-btn-container { display: flex; }