update webui style
update max-width and min-width