mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed #options popper with offset
This commit is contained in:
@ -158,7 +158,14 @@ let is_colab = false;
|
|||||||
let is_checked_colab = false;
|
let is_checked_colab = false;
|
||||||
let is_mes_reload_avatar = false;
|
let is_mes_reload_avatar = false;
|
||||||
let optionsPopper = Popper.createPopper(document.getElementById('options_button'), document.getElementById('options'), {
|
let optionsPopper = Popper.createPopper(document.getElementById('options_button'), document.getElementById('options'), {
|
||||||
placement: 'top-start',
|
modifiers: [
|
||||||
|
{
|
||||||
|
name: 'offset',
|
||||||
|
options: {
|
||||||
|
offset: [0, -260],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
const durationSaveEdit = 200;
|
const durationSaveEdit = 200;
|
||||||
|
@ -292,8 +292,6 @@ margin-top:5px;
|
|||||||
#options {
|
#options {
|
||||||
opacity: 0.0;
|
opacity: 0.0;
|
||||||
display: none;
|
display: none;
|
||||||
bottom: 200px;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1990;
|
z-index: 1990;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user