Remove top/bottom padding from device element