mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
desktop safari chat resize handhold. mind the gap
This commit is contained in:
@@ -1102,7 +1102,7 @@ function doRandomChat() {
|
||||
}
|
||||
|
||||
async function doMesCut(_, text) {
|
||||
|
||||
console.debug(`was asked to cut message id #${text}`)
|
||||
//reject invalid args or no args
|
||||
if (text && isNaN(text) || !text) {
|
||||
toastr.error(`Must enter a single number only, non-number characters disallowed.`)
|
||||
@@ -1110,7 +1110,7 @@ async function doMesCut(_, text) {
|
||||
}
|
||||
|
||||
//reject attempts to delete firstmes
|
||||
if (text === 0) {
|
||||
if (text === '0') {
|
||||
toastr.error('Cannot delete the First Message')
|
||||
return
|
||||
}
|
||||
|
@@ -454,6 +454,13 @@ hr {
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
/* special case for desktop Safari to allow #sheld resizing */
|
||||
@media only screen and (min-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (pointer: fine) {
|
||||
#form_sheld {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#send_form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
Reference in New Issue
Block a user