fix: deduplicate toolbar and fix overflow detection
Extract shared renderToolbarItems() function to eliminate ~850 lines of duplicated toolbar code between 'top' and 'below-subject' positions. Add overflow support to Reply, Reply All, and Forward buttons with data-overflow-item attributes and corresponding More menu entries. Fix overflow detection algorithm: temporarily disable flex-shrink on child groups during measurement so scrollWidth reflects natural widths instead of flex-compressed values. Add overflow-hidden to toolbar container to prevent visual overflow during recalculation.
This commit is contained in:
+472
-843
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user