Added some constraints to directive elements' widths