mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-03-05 20:07:44 +01:00
Move padding and overflow-y from #gamescreen to #gametext
For stories that are long enough for the scroll bar to appear on the screen, Firefox on desktop would originally only allow you to start editing if you click on the actual text, i.e. you couldn't click on the blank part of a line. This behaviour is now fixed.
This commit is contained in:
parent
25758dc3ab
commit
47c6f48e94
@ -402,7 +402,7 @@ function hideWaitAnimation() {
|
||||
|
||||
function scrollToBottom() {
|
||||
setTimeout(function () {
|
||||
$('#gamescreen').animate({scrollTop: $('#gamescreen').prop('scrollHeight')}, 500);
|
||||
game_text.animate({scrollTop: game_text.prop('scrollHeight')}, 500);
|
||||
}, 5);
|
||||
}
|
||||
|
||||
|
@ -69,10 +69,8 @@ chunk.editing, chunk.editing * {
|
||||
#gamescreen {
|
||||
height: 490px;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
vertical-align: bottom;
|
||||
overflow-y: scroll;
|
||||
background-color: #262626;
|
||||
color: #ffffff;
|
||||
font-size: 12pt;
|
||||
@ -87,6 +85,8 @@ chunk.editing, chunk.editing * {
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
word-wrap: break-word;
|
||||
padding: 10px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#seqselmenu {
|
||||
|
Loading…
x
Reference in New Issue
Block a user