make the inline emoji modal follow the text during line change with 100% accuracy
parent
7814d5d0c9
commit
01097cfd2d
|
@ -5181,7 +5181,7 @@ pre .com, code .com {
|
|||
.pagination {
|
||||
padding: 1rem;
|
||||
}
|
||||
input[type=color], input[type=date], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select:focus, textarea {
|
||||
input[type=color], input[type=date], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select:focus, textarea, .ghostdiv {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
textarea, input[type=text] {
|
||||
|
@ -6622,6 +6622,7 @@ g {
|
|||
word-break: break-word;
|
||||
/* Attempt to copy the textarea/input padding */
|
||||
padding: 15px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
#speed-carot-modal
|
||||
|
|
|
@ -339,7 +339,7 @@ function update_ghost_div_textarea(text)
|
|||
|
||||
// Now lets get coordinates
|
||||
|
||||
ghostdiv.style.display = "initial";
|
||||
ghostdiv.style.display = "block";
|
||||
let end = ghostdiv.querySelector("span");
|
||||
const carot_coords = end.getBoundingClientRect();
|
||||
const ghostdiv_coords = ghostdiv.getBoundingClientRect();
|
||||
|
|
Loading…
Reference in New Issue