Increase Scribe mobile inline button size

This commit is contained in:
Théo Poizat
2026-02-24 14:14:47 +01:00
committed by Dat H. Pham
parent ee546ef744
commit 1e43ac510b
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ class HtmlUtils {
// Avoid native selection marks in mobile
// Offset has been arbitrary determined to avoid selection marks on Android and iOS
const buttonOffset = isWebPlatform ? { x: 0, y: 0 } : { x: 22, y: -20 };
const buttonOffset = isWebPlatform ? { x: 0, y: 0 } : { x: 24, y: -24 };
let x = lastRect.right - editableRect.left + buttonOffset.x;
let y = lastRect.bottom - editableRect.top + buttonOffset.y;