Make the chat its own scrollable area

pull/305/head
ElementalAlchemist 2 years ago committed by Mike Lang
parent 76de577695
commit 4ac24fe716

@ -124,6 +124,7 @@
<input type="checkbox" id="enable-chapter-markers" /> <input type="checkbox" id="enable-chapter-markers" />
<label for="enable-chapter-markers">Add chapter markers to video description</label> <label for="enable-chapter-markers">Add chapter markers to video description</label>
</div> </div>
<div>
<div id="range-definitions"> <div id="range-definitions">
<div> <div>
<div class="range-definition-times"> <div class="range-definition-times">
@ -175,6 +176,7 @@
class="click" class="click"
tabindex="0" tabindex="0"
/> />
</div>
<div id="video-info"> <div id="video-info">
<div id="video-info-editor-notes-container" class="hidden"> <div id="video-info-editor-notes-container" class="hidden">

@ -125,9 +125,11 @@
<progress id="video-controls-playback-position" value="0" class="click"></progress> <progress id="video-controls-playback-position" value="0" class="click"></progress>
</div> </div>
<div>
<a href="#" id="download">Download Video</a> <a href="#" id="download">Download Video</a>
<a href="#" id="download-frame">Download Current Frame as Image</a> <a href="#" id="download-frame">Download Current Frame as Image</a>
<a href="#" id="time-converter-link">Convert Times</a> <a href="#" id="time-converter-link">Convert Times</a>
</div>
<form id="time-converter" class="hidden"> <form id="time-converter" class="hidden">
<h2>Time Converter</h2> <h2>Time Converter</h2>
<div id="time-converter-time-container"> <div id="time-converter-time-container">

@ -6,6 +6,8 @@ body {
background: #222; background: #222;
color: #fff; color: #fff;
height: 100vh;
margin: 0;
} }
a { a {
@ -66,6 +68,15 @@ a,
#page-container { #page-container {
position: relative; position: relative;
max-height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
}
#page-container > * {
flex: 0 1 auto;
} }
#editor-help { #editor-help {
@ -81,6 +92,7 @@ a,
align-items: flex-end; align-items: flex-end;
gap: 5px; gap: 5px;
margin-bottom: 10px; margin-bottom: 10px;
margin-top: 5px;
} }
#stream-time-settings > div { #stream-time-settings > div {
@ -354,6 +366,10 @@ a,
width: 200px; width: 200px;
} }
#chat-replay {
overflow-y: auto;
}
.chat-replay-message { .chat-replay-message {
display: flex; display: flex;
align-items: baseline; align-items: baseline;

Loading…
Cancel
Save