update grid and detail css to keep to itself