Fix bracket style
Refine horizontal resize