Simplifying grid width API to accept fractions