Make the chat its own scrollable area

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

@ -124,57 +124,59 @@
<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 id="range-definitions"> <div>
<div> <div id="range-definitions">
<div class="range-definition-times"> <div>
<input type="text" class="range-definition-start" /> <div class="range-definition-times">
<img <input type="text" class="range-definition-start" />
src="images/pencil.png" <img
alt="Set range start point to current video time" src="images/pencil.png"
class="range-definition-set-start click" alt="Set range start point to current video time"
/> class="range-definition-set-start click"
<img />
src="images/play_to.png" <img
alt="Play from start point" src="images/play_to.png"
class="range-definition-play-start click" alt="Play from start point"
/> class="range-definition-play-start click"
<div class="range-definition-between-time-gap"></div> />
<input type="text" class="range-definition-end" /> <div class="range-definition-between-time-gap"></div>
<img <input type="text" class="range-definition-end" />
src="images/pencil.png" <img
alt="Set range end point to current video time" src="images/pencil.png"
class="range-definition-set-end click" alt="Set range end point to current video time"
/> class="range-definition-set-end click"
<img />
src="images/play_to.png" <img
alt="Play from end point" src="images/play_to.png"
class="range-definition-play-end click" alt="Play from end point"
/> class="range-definition-play-end click"
<div class="range-definition-icon-gap"></div> />
<div class="range-definition-icon-gap"></div>
<img
src="images/arrow.png"
alt="Range affected by keyboard shortcuts"
title="Range affected by keyboard shortcuts"
class="range-definition-current"
/>
</div>
<div class="range-definition-chapter-markers hidden"></div>
<img <img
src="images/arrow.png" src="images/plus.png"
alt="Range affected by keyboard shortcuts" alt="Add chapter marker"
title="Range affected by keyboard shortcuts" title="Add chapter marker"
class="range-definition-current" class="add-range-definition-chapter-marker click hidden"
tabindex="0"
/> />
</div> </div>
<div class="range-definition-chapter-markers hidden"></div>
<img
src="images/plus.png"
alt="Add chapter marker"
title="Add chapter marker"
class="add-range-definition-chapter-marker click hidden"
tabindex="0"
/>
</div> </div>
<img
src="images/plus.png"
alt="Add range"
id="add-range-definition"
class="click"
tabindex="0"
/>
</div> </div>
<img
src="images/plus.png"
alt="Add range"
id="add-range-definition"
class="click"
tabindex="0"
/>
<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>
<a href="#" id="download">Download Video</a> <div>
<a href="#" id="download-frame">Download Current Frame as Image</a> <a href="#" id="download">Download Video</a>
<a href="#" id="time-converter-link">Convert Times</a> <a href="#" id="download-frame">Download Current Frame as Image</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