[ui]set max-width to sidebar