chore: add code comments to indicate purpose

This commit is contained in:
Rizumu Ayaka
2026-04-01 20:31:21 +08:00
parent 124617b5b7
commit 2d15b0c563

View File

@@ -24,6 +24,8 @@
WidgetInputBaseClass,
'size-full resize-none text-xs',
!hideLayoutField && 'pt-5',
// Avoid overflow-auto when idle to prevent per-textarea compositing
// layers. 40+ scrollable textareas cause severe frame drops (~20fps) (M5 MacBook Air).
'overflow-hidden hover:overflow-auto focus:overflow-auto'
)
"