#questBody { height: 100%; position: fixed; padding-left: 10px; padding-right: 32%; overflow: auto; } .chat { display: flex; flex-direction: column; } #chatPane { height: 100%; width: 30%; right: 0; position: fixed; padding-right: 20px; } #chatWindow { border: 1px solid #ccc; overflow: auto; flex: 1; } #messageBox { padding-bottom: 10px; width: 100%; } #messageTextarea { resize: none; box-sizing: border-box; } .greenText { color: green; }