text edit dialog shows parser errors

This commit is contained in:
Joeri Exelmans 2025-10-19 20:54:56 +02:00
parent 88dee7e3b9
commit ff32e6d000
3 changed files with 22 additions and 11 deletions

View file

@ -152,7 +152,7 @@ export function App() {
onMouseDown={() => setModal(null)}
style={{width: '100%', height: '100%', position:'absolute', textAlign: 'center', backgroundColor: 'rgba(127,127,127,0.5)' }}>
<div
style={{position: 'relative', top: '50%', transform: 'translateY(-50%)'}}>
style={{position: 'relative', top: '50%', transform: 'translateY(-50%)', textAlign: 'center', display: 'inline-block'}}>
<span onMouseDown={e => e.stopPropagation()}>
{modal}
</span>