mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
text edit fix
This commit is contained in:
parent
9d21bf002e
commit
e8d8aa8f46
@ -2168,7 +2168,8 @@ const selectionToolbarPosition = useMemo(() => {
|
||||
// The renderGroupContainer wrapper adds 4px horizontal padding (2px left + 2px right)
|
||||
// We need to add this to the container width to compensate, so the inner content
|
||||
// has the full PDF-defined width available for text
|
||||
const WRAPPER_HORIZONTAL_PADDING = 4;
|
||||
// Add extra padding to prevent text from being too tight and wrapping prematurely
|
||||
const WRAPPER_HORIZONTAL_PADDING = 10;
|
||||
|
||||
const containerStyle: React.CSSProperties = {
|
||||
position: 'absolute',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user