fix ui bug

auto to max-width is an invalid value